From 6c6357b6bdba3341b3eec5900c4b9ad952b8db81 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Mon, 16 Jun 2014 15:00:33 +0000 Subject: lib: Use BVAL macro in interpret_long_date Signed-off-by: Volker Lendecke Reviewed-by: Jeremy Allison --- source3/lib/time.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3') 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; -- cgit