Mercurial > hg > xemacs-beta
comparison src/event-stream.c @ 2039:fd0cbe945410
[xemacs-hg @ 2004-04-22 03:24:00 by james]
Change VALBITS to INT_VALBITS in a number of places.
author | james |
---|---|
date | Thu, 22 Apr 2004 03:24:02 +0000 |
parents | a8d8f419b459 |
children | caf11603feef |
comparison
equal
deleted
inserted
replaced
2038:c6190a5b1ece | 2039:fd0cbe945410 |
---|---|
4780 int tiempo = event_stream_current_event_timestamp (c); | 4780 int tiempo = event_stream_current_event_timestamp (c); |
4781 | 4781 |
4782 /* This junk is so that timestamps don't get to be negative, but contain | 4782 /* This junk is so that timestamps don't get to be negative, but contain |
4783 as many bits as this particular emacs will allow. | 4783 as many bits as this particular emacs will allow. |
4784 */ | 4784 */ |
4785 return make_int (((1L << (VALBITS - 1)) - 1) & tiempo); | 4785 return make_int (EMACS_INT_MAX & tiempo); |
4786 } | 4786 } |
4787 | 4787 |
4788 | 4788 |
4789 /************************************************************************/ | 4789 /************************************************************************/ |
4790 /* initialization */ | 4790 /* initialization */ |