diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/util/time.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/util/time.c b/lib/util/time.c index dc3ca68a3d..d5a429af94 100644 --- a/lib/util/time.c +++ b/lib/util/time.c @@ -148,7 +148,7 @@ _PUBLIC_ void unix_to_nt_time(NTTIME *nt, time_t t) return; } - if (t == TIME_T_MAX) { + if (t == TIME_T_MAX || t == INT64_MAX) { *nt = 0x7fffffffffffffffLL; return; } |