summaryrefslogtreecommitdiff
path: root/source4/lib/util_str.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/lib/util_str.c')
-rw-r--r--source4/lib/util_str.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/util_str.c b/source4/lib/util_str.c
index 0113b1ae48..7b1a81bdfd 100644
--- a/source4/lib/util_str.c
+++ b/source4/lib/util_str.c
@@ -402,7 +402,7 @@ char *safe_strcpy(char *dest,const char *src, size_t maxlength)
if (len > maxlength) {
DEBUG(0,("ERROR: string overflow by %u (%u - %u) in safe_strcpy [%.50s]\n",
- (unsigned int)(len-maxlength), len, maxlength, src));
+ (uint_t)(len-maxlength), len, maxlength, src));
len = maxlength;
}