diff src/sysdep.c @ 5934:e2fae7783046 cygwin

lots of use of EMACS_INT, a few others, to eliminate all pointer truncation warnings
author Henry Thompson <ht@markup.co.uk>
date Sat, 12 Dec 2015 19:08:46 +0000
parents 4d7032d36975
children d5eb0914ca1f
line wrap: on
line diff
--- a/src/sysdep.c	Thu Dec 10 17:55:59 2015 +0000
+++ b/src/sysdep.c	Sat Dec 12 19:08:46 2015 +0000
@@ -3509,7 +3509,7 @@
 #endif /* need at least 4 */
 #endif /* need at least 3 */
 #endif /* need at least 2 */
-  return val & (EMACS_INT) ((1UL << FIXNUM_VALBITS) - 1);
+  return val & (((EMACS_UINT)1 << FIXNUM_VALBITS) - 1);
 }