changeset 6577:6b5eb178d1db

(EMACS_TIME_NEG_P): Cast to signed.
author Karl Heuer <kwzh@gnu.org>
date Wed, 30 Mar 1994 00:50:02 +0000
parents 851ee89bae86
children de72ddd5a3c0
files src/systime.h
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/systime.h	Tue Mar 29 07:20:26 1994 +0000
+++ b/src/systime.h	Wed Mar 30 00:50:02 1994 +0000
@@ -117,9 +117,9 @@
 }
 
 #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) */