1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00

r18597: A C++ warning

(This used to be commit 528082aed8)
This commit is contained in:
Volker Lendecke 2006-09-17 20:05:09 +00:00 committed by Gerald (Jerry) Carter
parent e5db7fee0f
commit 8bf6d57176

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