comparison 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
comparison
equal deleted inserted replaced
5933:c1e8f3294298 5934:e2fae7783046
3507 val = (val << RAND_BITS) ^ random (); 3507 val = (val << RAND_BITS) ^ random ();
3508 #endif /* need at least 5 */ 3508 #endif /* need at least 5 */
3509 #endif /* need at least 4 */ 3509 #endif /* need at least 4 */
3510 #endif /* need at least 3 */ 3510 #endif /* need at least 3 */
3511 #endif /* need at least 2 */ 3511 #endif /* need at least 2 */
3512 return val & (EMACS_INT) ((1UL << FIXNUM_VALBITS) - 1); 3512 return val & (((EMACS_UINT)1 << FIXNUM_VALBITS) - 1);
3513 } 3513 }
3514 3514
3515 3515
3516 /************************************************************************/ 3516 /************************************************************************/
3517 /* Strings corresponding to defined signals */ 3517 /* Strings corresponding to defined signals */