From: Günther Deschner Date: Mon, 26 Feb 2007 16:37:19 +0000 (+0000) Subject: r21543: Fix 64bit build warning. X-Git-Tag: samba-misc-tags/initial-v3-0-unstable~1065 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=bc04004c182b114749d8e33edcf835efb252d35d;p=thirdparty%2Fsamba.git r21543: Fix 64bit build warning. Guenther --- diff --git a/source/profile/profile.c b/source/profile/profile.c index fc22e07fa98..30b06492545 100644 --- a/source/profile/profile.c +++ b/source/profile/profile.c @@ -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;