r21543: Fix 64bit build warning.
authorGünther Deschner <gd@samba.org>
Mon, 26 Feb 2007 16:37:19 +0000 (16:37 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:18:11 +0000 (12:18 -0500)
Guenther
(This used to be commit bc04004c182b114749d8e33edcf835efb252d35d)

source3/profile/profile.c

index fc22e07fa980d6f6d1bc7f762ce9bc80a401ae5d..30b06492545beed883d1d70ff9dce3e87126c76d 100644 (file)
@@ -230,7 +230,7 @@ BOOL profile_setup(BOOL rdonly)
        }
 
        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)));
                if (shmctl(shm_id, IPC_RMID, &shm_ds) == 0) {
                        goto again;