1
0
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:
Günther Deschner 2007-02-26 16:37:19 +00:00 committed by Gerald (Jerry) Carter
parent 5889f588ee
commit bc04004c18

View File

@ -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;