summaryrefslogtreecommitdiff
path: root/source3
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
commit89f6150ffec4b4215ecddd764269bda325c7147b (patch)
tree8739ff34b26efdc8af45cd0c16a1cc5d8768f297 /source3
parent3e88439de037e81b9aaa1d043990ff08b88cd023 (diff)
downloadsamba-89f6150ffec4b4215ecddd764269bda325c7147b.tar.gz
samba-89f6150ffec4b4215ecddd764269bda325c7147b.tar.bz2
samba-89f6150ffec4b4215ecddd764269bda325c7147b.zip
Fix fro signed/unsigned problem with TIME_T_MIN from Anatoly V. Grabar
<agra@sice.ru> jra@cygnus.com (This used to be commit ed7e3a9347c93cf5736132f93d43472a3809c80e)
Diffstat (limited to 'source3')
-rw-r--r--source3/lib/time.c2
1 files changed, 1 insertions, 1 deletions
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