summaryrefslogtreecommitdiff
path: root/soltools
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2013-08-14 15:54:46 +0200
committerStephan Bergmann <sbergman@redhat.com>2013-08-22 07:13:58 +0200
commit376feb6a6fcd32887b50fba790a3230baf3dae98 (patch)
treec99cbf18583a686351b2a4ca2c209895c552b87c /soltools
parentba282259a9309f21f4019073299d7eb6e7f61d98 (diff)
left shift of 1 by 31 places cannot be represented in type 'int'
Clang -fsanitize=undefined Change-Id: I2b3f1bd28e098d5eb57892d2c7438c18c5c3b357
Diffstat (limited to 'soltools')
-rw-r--r--soltools/cpp/cpp.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/soltools/cpp/cpp.h b/soltools/cpp/cpp.h
index 29a77ee22808..15c2e60ada51 100644
--- a/soltools/cpp/cpp.h
+++ b/soltools/cpp/cpp.h
@@ -127,8 +127,8 @@ typedef struct wraplist
} Wraplist;
#define new(t) (t *)domalloc(sizeof(t))
-#define quicklook(a,b) (namebit[(a)&077] & (1<<((b)&037)))
-#define quickset(a,b) namebit[(a)&077] |= (1<<((b)&037))
+#define quicklook(a,b) (namebit[(a)&077] & (1U<<((b)&037)))
+#define quickset(a,b) namebit[(a)&077] |= (1U<<((b)&037))
extern unsigned long namebit[077 + 1];
enum errtype