summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/lib/charcnv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/charcnv.c b/source3/lib/charcnv.c
index 5e265234e6..4a2e768d05 100644
--- a/source3/lib/charcnv.c
+++ b/source3/lib/charcnv.c
@@ -1109,7 +1109,7 @@ static size_t pull_ascii_base_talloc(TALLOC_CTX *ctx,
char *msg = talloc_asprintf(ctx,
"Bad src length (%u) in "
"pull_ascii_base_talloc",
- src_len);
+ (unsigned int)src_len);
smb_panic(msg);
}
}