summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 20748e8f22..cf2bd9ee36 100644
--- a/source3/profile/profile.c
+++ b/source3/profile/profile.c
@@ -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 {