diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/libtest/lib543.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/libtest/lib543.c b/tests/libtest/lib543.c index 662883529..852645695 100644 --- a/tests/libtest/lib543.c +++ b/tests/libtest/lib543.c @@ -22,7 +22,8 @@ int test(char *URL) 0x1d, 0x57, 0xe1}; CURL* easy = curl_easy_init(); - char* s = curl_easy_escape(easy, (char*)a, sizeof(a)); + int asize = (int)sizeof(a); + char* s = curl_easy_escape(easy, (char*)a, asize); (void)URL; printf("%s\n", s); |