mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
r21543: Fix 64bit build warning.
Guenther
This commit is contained in:
parent
5889f588ee
commit
bc04004c18
@ -230,7 +230,7 @@ BOOL profile_setup(BOOL rdonly)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (shm_ds.shm_segsz != sizeof(*profile_h)) {
|
if (shm_ds.shm_segsz != sizeof(*profile_h)) {
|
||||||
DEBUG(0,("WARNING: profile size is %d (expected %d). Deleting\n",
|
DEBUG(0,("WARNING: profile size is %d (expected %lu). Deleting\n",
|
||||||
(int)shm_ds.shm_segsz, sizeof(*profile_h)));
|
(int)shm_ds.shm_segsz, sizeof(*profile_h)));
|
||||||
if (shmctl(shm_id, IPC_RMID, &shm_ds) == 0) {
|
if (shmctl(shm_id, IPC_RMID, &shm_ds) == 0) {
|
||||||
goto again;
|
goto again;
|
||||||
|
Loading…
Reference in New Issue
Block a user