summaryrefslogtreecommitdiff
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
commit8ce6977ed7ae5ffb43f29c0dbb53e6cf73a24e0c (patch)
treeae9019d7d08bfad2b4db87c0f541b08d0ef16269
parent7e5e0277f0309b52a042c9a4f73c2e1374b1fa6f (diff)
downloademacs-8ce6977ed7ae5ffb43f29c0dbb53e6cf73a24e0c.tar.gz
emacs-8ce6977ed7ae5ffb43f29c0dbb53e6cf73a24e0c.tar.bz2
emacs-8ce6977ed7ae5ffb43f29c0dbb53e6cf73a24e0c.zip
(MARKBIT): Do the shifting as unsigned int.
-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.