From f6e33eb890dbe4451d3b3ff52a2f38d3a5ceb8c8 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Tue, 18 Sep 2012 14:35:39 -0700 Subject: [PATCH] s3: Use SBVAL in put_long_date_timespec Autobuild-User(master): Volker Lendecke Autobuild-Date(master): Wed Sep 19 01:16:25 CEST 2012 on sn-devel-104 --- source3/lib/time.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/source3/lib/time.c b/source3/lib/time.c index 00cf0f16c1f1..b4b9d19dc93d 100644 --- a/source3/lib/time.c +++ b/source3/lib/time.c @@ -173,8 +173,7 @@ void put_long_date_timespec(enum timestamp_set_resolution res, char *p, struct t NTTIME nt; round_timespec(res, &ts); unix_timespec_to_nt_time(&nt, ts); - SIVAL(p, 0, nt & 0xFFFFFFFF); - SIVAL(p, 4, nt >> 32); + SBVAL(p, 0, nt); } void put_long_date(char *p, time_t t) -- 2.34.1