aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman1995-04-13 05:12:24 +0000
committerRichard M. Stallman1995-04-13 05:12:24 +0000
commit8ce6977ed7ae5ffb43f29c0dbb53e6cf73a24e0c (patch)
treeae9019d7d08bfad2b4db87c0f541b08d0ef16269 /src
parent7e5e0277f0309b52a042c9a4f73c2e1374b1fa6f (diff)
downloademacs-8ce6977ed7ae5ffb43f29c0dbb53e6cf73a24e0c.tar.gz
emacs-8ce6977ed7ae5ffb43f29c0dbb53e6cf73a24e0c.zip
(MARKBIT): Do the shifting as unsigned int.
Diffstat (limited to 'src')
-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;
190 rather than being part of a string block. */ 190 rather than being part of a string block. */
191 191
192#ifndef MARKBIT 192#ifndef MARKBIT
193#define MARKBIT (1 << (VALBITS + GCTYPEBITS)) 193#define MARKBIT ((int) ((unsigned int) 1 << (VALBITS + GCTYPEBITS)))
194#endif /*MARKBIT */ 194#endif /*MARKBIT */
195 195
196/* In the size word of a vector, this bit means the vector has been marked. 196/* In the size word of a vector, this bit means the vector has been marked.