Fix fro signed/unsigned problem with TIME_T_MIN from Anatoly V. Grabar
authorSamba Release Account <samba-bugs@samba.org>
Fri, 7 Mar 1997 17:22:27 +0000 (17:22 +0000)
committerSamba Release Account <samba-bugs@samba.org>
Fri, 7 Mar 1997 17:22:27 +0000 (17:22 +0000)
<agra@sice.ru>
jra@cygnus.com
(This used to be commit ed7e3a9347c93cf5736132f93d43472a3809c80e)

source3/lib/time.c

index efcda804c49fa11e6efdf0e5ff41e8b19d267c4d..215c28a2108d93c43e08140c75c64a45823b12fa 100644 (file)
@@ -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