From 8bf6d571764f67603bd120dc06e38b53c69cf320 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sun, 17 Sep 2006 20:05:09 +0000 Subject: r18597: A C++ warning (This used to be commit 528082aed8c24b54d5781c6b3a6062b6cded74ef) --- source3/lib/time.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/lib/time.c') 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); } /** -- cgit