aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
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 71ac265fa61..a154e4d5ce4 100644
--- a/src/lisp.h
+++ b/src/lisp.h
@@ -338,7 +338,7 @@ extern int pure_size;
338 338
339#ifdef EXPLICIT_SIGN_EXTEND 339#ifdef EXPLICIT_SIGN_EXTEND
340/* Make sure we sign-extend; compilers have been known to fail to do so. */ 340/* Make sure we sign-extend; compilers have been known to fail to do so. */
341#define XINT(a) (((a).i << 8) >> 8) 341#define XINT(a) (((a).i << (INTBITS-VALBITS)) >> (INTBITS-VALBITS))
342#else 342#else
343#define XINT(a) ((a).s.val) 343#define XINT(a) ((a).s.val)
344#endif /* EXPLICIT_SIGN_EXTEND */ 344#endif /* EXPLICIT_SIGN_EXTEND */