r24842: Fix build warning.
authorGünther Deschner <gd@samba.org>
Fri, 31 Aug 2007 15:01:50 +0000 (15:01 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:30:27 +0000 (12:30 -0500)
Guenther
(This used to be commit 205ef6ab3e9332a2a4a4f775c2cdddbcd3ec739d)

source3/profile/profile.c

index 20748e8f22114f6422ec491cc4d329e28e35f7f2..cf2bd9ee36a3b314e0cbba443e2c177add332fd3 100644 (file)
@@ -251,7 +251,7 @@ BOOL profile_setup(struct messaging_context *msg_ctx, BOOL rdonly)
 
        if (shm_ds.shm_segsz != sizeof(*profile_h)) {
                DEBUG(0,("WARNING: profile size is %d (expected %d). Deleting\n",
-                        (int)shm_ds.shm_segsz, sizeof(*profile_h)));
+                        (int)shm_ds.shm_segsz, (int)sizeof(*profile_h)));
                if (shmctl(shm_id, IPC_RMID, &shm_ds) == 0) {
                        goto again;
                } else {