1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-08 21:18:16 +03:00

s3: Use SBVAL in put_long_date_timespec

Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Wed Sep 19 01:16:25 CEST 2012 on sn-devel-104
This commit is contained in:
Volker Lendecke 2012-09-18 14:35:39 -07:00
parent 2bbde78ce4
commit f6e33eb890

View File

@ -173,8 +173,7 @@ void put_long_date_timespec(enum timestamp_set_resolution res, char *p, struct t
NTTIME nt; NTTIME nt;
round_timespec(res, &ts); round_timespec(res, &ts);
unix_timespec_to_nt_time(&nt, ts); unix_timespec_to_nt_time(&nt, ts);
SIVAL(p, 0, nt & 0xFFFFFFFF); SBVAL(p, 0, nt);
SIVAL(p, 4, nt >> 32);
} }
void put_long_date(char *p, time_t t) void put_long_date(char *p, time_t t)