diff options
author | Volker Lendecke <vlendec@samba.org> | 2006-09-17 20:05:09 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:51:57 -0500 |
commit | 8bf6d571764f67603bd120dc06e38b53c69cf320 (patch) | |
tree | aeeed1d0135ed068be5dd33811da2a5bede966c7 | |
parent | e5db7fee0f5cb3bd7434cdefebabc7a8376aa0d4 (diff) | |
download | samba-8bf6d571764f67603bd120dc06e38b53c69cf320.tar.gz samba-8bf6d571764f67603bd120dc06e38b53c69cf320.tar.bz2 samba-8bf6d571764f67603bd120dc06e38b53c69cf320.zip |
r18597: A C++ warning
(This used to be commit 528082aed8c24b54d5781c6b3a6062b6cded74ef)
-rw-r--r-- | source3/lib/time.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/time.c b/source3/lib/time.c index 715c1a1bcc..9fe69eb45a 100644 --- a/source3/lib/time.c +++ b/source3/lib/time.c @@ -270,7 +270,7 @@ time_t pull_dos_date2(const uint8_t *date_ptr, int zone_offset) x2 = ((x&0xFFFF)<<16) | ((x&0xFFFF0000)>>16); SIVAL(&x,0,x2); - return pull_dos_date((void *)&x, zone_offset); + return pull_dos_date((const uint8_t *)&x, zone_offset); } /** |