From cf4138adefc2a82ddda665abd0c2a94840718f92 Mon Sep 17 00:00:00 2001 From: Karl Heuer Date: Wed, 30 Mar 1994 00:50:02 +0000 Subject: [PATCH] (EMACS_TIME_NEG_P): Cast to signed. --- src/systime.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/systime.h b/src/systime.h index bcb62f5856b..71e238e4ce6 100644 --- a/src/systime.h +++ b/src/systime.h @@ -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) */