summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2014-06-16 15:00:33 +0000
committerJeremy Allison <jra@samba.org>2014-06-18 01:03:13 +0200
commit6c6357b6bdba3341b3eec5900c4b9ad952b8db81 (patch)
tree9af9ed99aca1103a2be292365106cc4cb27b93af
parenta4c50e233265ef4fd0d472cbded0bb8346ef0528 (diff)
downloadsamba-6c6357b6bdba3341b3eec5900c4b9ad952b8db81.tar.gz
samba-6c6357b6bdba3341b3eec5900c4b9ad952b8db81.tar.xz
samba-6c6357b6bdba3341b3eec5900c4b9ad952b8db81.zip
lib: Use BVAL macro in interpret_long_date
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
-rw-r--r--source3/lib/time.c2
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;