mirror of
https://github.com/samba-team/samba.git
synced 2025-11-11 00:23:51 +03:00
r25000: Fix some more C++ compatibility warnings.
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
0a3b53fd2c
commit
08bb1ef643
@@ -269,7 +269,7 @@ _PUBLIC_ 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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user