mirror of
https://github.com/samba-team/samba.git
synced 2025-03-20 22:50:26 +03:00
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)
This commit is contained in:
parent
3e88439de0
commit
89f6150ffe
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user