summaryrefslogtreecommitdiff
path: root/source3/lib/replace/test/testsuite.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/lib/replace/test/testsuite.c')
-rw-r--r--source3/lib/replace/test/testsuite.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/replace/test/testsuite.c b/source3/lib/replace/test/testsuite.c
index 2d068c559f..54ffd6a66d 100644
--- a/source3/lib/replace/test/testsuite.c
+++ b/source3/lib/replace/test/testsuite.c
@@ -511,7 +511,7 @@ static int test_inet_ntoa(void)
"\tptr: %p - %p = %d != %d\n" \
"]\n", \
__STRING(func), __location__, __STRING(func), \
- str, diff, base, res, _v, _ep, _p, diff - (_ep - _p), diff); \
+ str, diff, base, res, _v, _ep, _p, (int)(diff - (_ep - _p)), diff); \
return false; \
} \
} while (0)