From 89f6150ffec4b4215ecddd764269bda325c7147b Mon Sep 17 00:00:00 2001 From: Samba Release Account Date: Fri, 7 Mar 1997 17:22:27 +0000 Subject: Fix fro signed/unsigned problem with TIME_T_MIN from Anatoly V. Grabar jra@cygnus.com (This used to be commit ed7e3a9347c93cf5736132f93d43472a3809c80e) --- source3/lib/time.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source3/lib/time.c b/source3/lib/time.c index efcda804c4..215c28a210 100644 --- a/source3/lib/time.c +++ b/source3/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 -- cgit