mirror of
https://github.com/curl/curl.git
synced 2026-04-16 15:31:44 +03:00
Fix wrong signed int formatting string directive in test case #557.
This error did not cause test failures on systems where sizeof(int) == sizeof(long).
This commit is contained in:
parent
cbc04a7d40
commit
62d94ff342
1 changed files with 1 additions and 1 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue