DataFlowSanitizer: Replace non-instrumented aliases of instrumented functions, and...
[oota-llvm.git] / lib / Support / regexec.c
index 007861675ba10816eb7e39254714b1035812a592..bd5e72d4c522074587a39c5093e65007af660e09 100644 (file)
@@ -69,7 +69,7 @@
 #define        SETUP(v)        ((v) = 0)
 #define        onestate        long
 #define        INIT(o, n)      ((o) = (unsigned long)1 << (n))
-#define        INC(o)          ((o) <<= 1)
+#define        INC(o)          ((o) = (unsigned long)(o) << 1)
 #define        ISSTATEIN(v, o) (((v) & (o)) != 0)
 /* some abbreviations; note that some of these know variable names! */
 /* do "if I'm here, I can also be there" etc without branches */