summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2012-09-18 14:35:39 -0700
committerVolker Lendecke <vl@samba.org>2012-09-19 01:16:25 +0200
commitf6e33eb890dbe4451d3b3ff52a2f38d3a5ceb8c8 (patch)
tree9cfed0a34b731c64959b43cac8d5c9efc93fdb32 /source3/lib
parent2bbde78ce491cce4ea504cbc583a6935b809d609 (diff)
downloadsamba-f6e33eb890dbe4451d3b3ff52a2f38d3a5ceb8c8.tar.gz
samba-f6e33eb890dbe4451d3b3ff52a2f38d3a5ceb8c8.tar.bz2
samba-f6e33eb890dbe4451d3b3ff52a2f38d3a5ceb8c8.zip
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
Diffstat (limited to 'source3/lib')
-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)