summaryrefslogtreecommitdiff
path: root/src/lisp.h
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1995-04-13 05:12:24 +0000
committerRichard M. Stallman <rms@gnu.org>1995-04-13 05:12:24 +0000
commit63487d7ea7f7bc2d1e28eb81d4f97ad7fe2c94b1 (patch)
tree0e8ad8a0c89b87b5e7981c339370bbdf51b0c1b8 /src/lisp.h
parent810394a6ea9a6ddee8d9e66c77c8414ecc277b65 (diff)
downloademacs-63487d7ea7f7bc2d1e28eb81d4f97ad7fe2c94b1.tar.gz
(MARKBIT): Do the shifting as unsigned int.
Diffstat (limited to 'src/lisp.h')
-rw-r--r--src/lisp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lisp.h b/src/lisp.h
index e28da149794..84dae54aebf 100644
--- a/src/lisp.h
+++ b/src/lisp.h
@@ -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.