summaryrefslogtreecommitdiff
path: root/source3/lib/time.c
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2006-09-17 20:05:09 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:51:57 -0500
commit8bf6d571764f67603bd120dc06e38b53c69cf320 (patch)
treeaeeed1d0135ed068be5dd33811da2a5bede966c7 /source3/lib/time.c
parente5db7fee0f5cb3bd7434cdefebabc7a8376aa0d4 (diff)
downloadsamba-8bf6d571764f67603bd120dc06e38b53c69cf320.tar.gz
samba-8bf6d571764f67603bd120dc06e38b53c69cf320.tar.bz2
samba-8bf6d571764f67603bd120dc06e38b53c69cf320.zip
r18597: A C++ warning
(This used to be commit 528082aed8c24b54d5781c6b3a6062b6cded74ef)
Diffstat (limited to 'source3/lib/time.c')
-rw-r--r--source3/lib/time.c2
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);
}
/**