summaryrefslogtreecommitdiff
path: root/source3/profile
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2007-02-26 16:37:19 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:18:11 -0500
commitaf7f7648235a59a809f47ef9758e50a6990ae214 (patch)
tree2f6f19c5198c0356f45f9328a4abcc59b564ac3f /source3/profile
parentdd110c9e7bee1e6de0adf71904faceb21136e04d (diff)
downloadsamba-af7f7648235a59a809f47ef9758e50a6990ae214.tar.gz
samba-af7f7648235a59a809f47ef9758e50a6990ae214.tar.bz2
samba-af7f7648235a59a809f47ef9758e50a6990ae214.zip
r21543: Fix 64bit build warning.
Guenther (This used to be commit bc04004c182b114749d8e33edcf835efb252d35d)
Diffstat (limited to 'source3/profile')
-rw-r--r--source3/profile/profile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/profile/profile.c b/source3/profile/profile.c
index fc22e07fa9..30b0649254 100644
--- a/source3/profile/profile.c
+++ b/source3/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;