git.samba.org
/
kai
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3e88439
)
Fix fro signed/unsigned problem with TIME_T_MIN from Anatoly V. Grabar
author
Samba Release Account
<samba-bugs@samba.org>
Fri, 7 Mar 1997 17:22:27 +0000
(17:22 +0000)
committer
Samba 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
patch
|
blob
|
history
diff --git
a/source3/lib/time.c
b/source3/lib/time.c
index efcda804c49fa11e6efdf0e5ff41e8b19d267c4d..215c28a2108d93c43e08140c75c64a45823b12fa 100644
(file)
--- 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