mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-25 07:28:20 +00:00
(EMACS_TIME_NEG_P): Cast to signed.
This commit is contained in:
parent
ee61d94e70
commit
cf4138adef
@ -117,9 +117,9 @@ extern long timezone;
|
||||
}
|
||||
|
||||
#define EMACS_TIME_NEG_P(time) \
|
||||
((time).tv_sec < 0 \
|
||||
((long)(time).tv_sec < 0 \
|
||||
|| ((time).tv_sec == 0 \
|
||||
&& (time).tv_usec < 0))
|
||||
&& (long)(time).tv_usec < 0))
|
||||
|
||||
#else /* ! defined (HAVE_TIMEVAL) */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user