comparison src/alloc.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 427a72c6ee17
children d5eb0914ca1f
comparison
equal deleted inserted replaced
5933:c1e8f3294298 5934:e2fae7783046
887 /* Give gdb/dbx enough information to decode Lisp Objects. We make 887 /* Give gdb/dbx enough information to decode Lisp Objects. We make
888 sure certain symbols are always defined, so gdb doesn't complain 888 sure certain symbols are always defined, so gdb doesn't complain
889 about expressions in src/.gdbinit. See src/.gdbinit or src/.dbxrc 889 about expressions in src/.gdbinit. See src/.gdbinit or src/.dbxrc
890 to see how this is used. */ 890 to see how this is used. */
891 891
892 EMACS_UINT dbg_valmask = ((1UL << VALBITS) - 1) << GCBITS; 892 EMACS_UINT dbg_valmask = (((EMACS_UINT)1 << VALBITS) - 1) << GCBITS;
893 EMACS_UINT dbg_typemask = (1UL << GCTYPEBITS) - 1; 893 EMACS_UINT dbg_typemask = ((EMACS_UINT)1 << GCTYPEBITS) - 1;
894 894
895 #ifdef USE_UNION_TYPE 895 #ifdef USE_UNION_TYPE
896 unsigned char dbg_USE_UNION_TYPE = 1; 896 unsigned char dbg_USE_UNION_TYPE = 1;
897 #else 897 #else
898 unsigned char dbg_USE_UNION_TYPE = 0; 898 unsigned char dbg_USE_UNION_TYPE = 0;