]> git.eshelyaron.com Git - emacs.git/commitdiff
(MARKBIT): Do the shifting as unsigned int.
authorRichard M. Stallman <rms@gnu.org>
Thu, 13 Apr 1995 05:12:24 +0000 (05:12 +0000)
committerRichard M. Stallman <rms@gnu.org>
Thu, 13 Apr 1995 05:12:24 +0000 (05:12 +0000)
src/lisp.h

index e28da1497945ebc8c570184fa4da9a7277ba9269..84dae54aebfd3b991e469b9c259bcd12aca7fe96 100644 (file)
@@ -190,7 +190,7 @@ Lisp_Object;
    rather than being part of a string block.  */
 
 #ifndef MARKBIT
-#define MARKBIT (1 << (VALBITS + GCTYPEBITS))
+#define MARKBIT ((int) ((unsigned int) 1 << (VALBITS + GCTYPEBITS)))
 #endif /*MARKBIT */
 
 /* In the size word of a vector, this bit means the vector has been marked.