summaryrefslogtreecommitdiff
path: root/src/systime.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/systime.h')
-rw-r--r--src/systime.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/systime.h b/src/systime.h
index fa5e7270cb5..da495b9064b 100644
--- a/src/systime.h
+++ b/src/systime.h
@@ -121,7 +121,7 @@ EMACS_TIME_SIGN (EMACS_TIME t)
SYSTIME_INLINE int
EMACS_TIME_VALID_P (EMACS_TIME t)
{
- return 0 <= t.tv_nsec;
+ return t.tv_nsec >= 0;
}
/* Convert the double D to the greatest EMACS_TIME not greater than D.