changeset 11408:9fbaec64d072

(MARKBIT): Do the shifting as unsigned int.
author Richard M. Stallman <rms@gnu.org>
date Thu, 13 Apr 1995 05:12:24 +0000
parents 5e814474c4a8
children 4c3096cfd900
files src/lisp.h
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/lisp.h	Thu Apr 13 04:56:20 1995 +0000
+++ b/src/lisp.h	Thu Apr 13 05:12:24 1995 +0000
@@ -190,7 +190,7 @@
    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.