diff options
Diffstat (limited to 'source3/lib/time.c')
-rw-r--r-- | source3/lib/time.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/time.c b/source3/lib/time.c index b4b9d19dc9..dab9b3167a 100644 --- a/source3/lib/time.c +++ b/source3/lib/time.c @@ -243,7 +243,7 @@ time_t srv_make_unix_date3(const void *date_ptr) struct timespec interpret_long_date(const char *p) { NTTIME nt; - nt = IVAL(p,0) + ((uint64_t)IVAL(p,4) << 32); + nt = BVAL(p, 0); if (nt == (uint64_t)-1) { struct timespec ret; ret.tv_sec = (time_t)-1; |