r18597: A C++ warning
authorVolker Lendecke <vlendec@samba.org>
Sun, 17 Sep 2006 20:05:09 +0000 (20:05 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 16:51:57 +0000 (11:51 -0500)
(This used to be commit 528082aed8c24b54d5781c6b3a6062b6cded74ef)

source3/lib/time.c

index 715c1a1bcceb71c9fcc881d67794637315307eb0..9fe69eb45ac10289aba03eeb7366007a3f44de23 100644 (file)
@@ -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);
 }
 
 /**