mirror of
https://github.com/curl/curl.git
synced 2026-08-25 03:23:32 +03:00
fix compiler warning: implicit conversion shortens 64-bit value into a 32-bit value
This commit is contained in:
parent
c663494c69
commit
c382c550e7
9 changed files with 42 additions and 22 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue