aboutsummaryrefslogtreecommitdiff
path: root/tests/libtest/lib557.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/libtest/lib557.c')
-rw-r--r--tests/libtest/lib557.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/libtest/lib557.c b/tests/libtest/lib557.c
index 57061a759..13148dd84 100644
--- a/tests/libtest/lib557.c
+++ b/tests/libtest/lib557.c
@@ -440,7 +440,7 @@ static int test_signed_int_formatting(void)
si_test[i].result[j] = 'X';
si_test[i].result[BUFSZ-1] = '\0';
- (void)curl_msprintf(si_test[i].result, "%ld", si_test[i].num);
+ (void)curl_msprintf(si_test[i].result, "%d", si_test[i].num);
if(memcmp(si_test[i].result,
si_test[i].expected,