diff options
author | Yang Tse <yangsita@gmail.com> | 2009-04-14 12:53:53 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2009-04-14 12:53:53 +0000 |
commit | c382c550e7d8ad54d2c35b0fea9d0eef09ff3a25 (patch) | |
tree | 4a55cc0951de068e16c9e016bdb8b70fde9c6473 /tests | |
parent | c663494c69e81f8d88ccf8dad7e4ae3ef726e9d8 (diff) |
fix compiler warning: implicit conversion shortens 64-bit value into a 32-bit value
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); |