summaryrefslogtreecommitdiff
path: root/source3/lib/time.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/lib/time.c')
-rw-r--r--source3/lib/time.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/lib/time.c b/source3/lib/time.c
index 00cf0f16c1..b4b9d19dc9 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)