1
0
mirror of https://github.com/samba-team/samba.git synced 2025-06-18 19:17:08 +03:00

r18597: A C++ warning

This commit is contained in:
Volker Lendecke 2006-09-17 20:05:09 +00:00 committed by Gerald (Jerry) Carter
parent 9e9a053661
commit 528082aed8

View 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);
}
/**