summaryrefslogtreecommitdiffstats
path: root/source/lib/time.c
diff options
context:
space:
mode:
authorSamba Release Account <samba-bugs@samba.org>1997-03-07 17:22:27 +0000
committerSamba Release Account <samba-bugs@samba.org>1997-03-07 17:22:27 +0000
commited7e3a9347c93cf5736132f93d43472a3809c80e (patch)
treee7f57ee79f398285fe25e62dfec1d948e76f3a2d /source/lib/time.c
parent79f0c550d2cbaf9ed815f4bf923f054063388a9c (diff)
downloadsamba-ed7e3a9347c93cf5736132f93d43472a3809c80e.tar.gz
samba-ed7e3a9347c93cf5736132f93d43472a3809c80e.tar.xz
samba-ed7e3a9347c93cf5736132f93d43472a3809c80e.zip
Fix fro signed/unsigned problem with TIME_T_MIN from Anatoly V. Grabar
<agra@sice.ru> jra@cygnus.com
Diffstat (limited to 'source/lib/time.c')
-rw-r--r--source/lib/time.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/lib/time.c b/source/lib/time.c
index efcda804c49..215c28a2108 100644
--- a/source/lib/time.c
+++ b/source/lib/time.c
@@ -37,7 +37,7 @@ extern int DEBUGLEVEL;
#endif
#ifndef TIME_T_MIN
-#define TIME_T_MIN (0 < (time_t) -1 ? (time_t) 0 \
+#define TIME_T_MIN ((time_t)0 < (time_t) -1 ? (time_t) 0 \
: ~ (time_t) 0 << (sizeof (time_t) * CHAR_BIT - 1))
#endif
#ifndef TIME_T_MAX