Mercurial > hg > xemacs-beta
diff src/events.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 | f9e4d44504a4 |
children | d5eb0914ca1f |
line wrap: on
line diff
--- a/src/events.c Thu Dec 10 17:55:59 2015 +0000 +++ b/src/events.c Sat Dec 12 19:08:46 2015 +0000 @@ -1766,7 +1766,7 @@ return make_fixnum (MOST_POSITIVE_FIXNUM & XEVENT_TIMESTAMP (event)); } -#define TIMESTAMP_HALFSPACE (1L << (FIXNUM_VALBITS - 2)) +#define TIMESTAMP_HALFSPACE ((EMACS_INT)1 << (FIXNUM_VALBITS - 2)) DEFUN ("event-timestamp<", Fevent_timestamp_lessp, 2, 2, 0, /* Return true if timestamp TIME1 is earlier than timestamp TIME2.