mirror of
https://github.com/curl/curl.git
synced 2026-05-04 07:17:51 +03:00
Fix compiler warning: integral size mismatch in argument
This commit is contained in:
parent
32195c673d
commit
e87c996fe0
1 changed files with 1 additions and 1 deletions
|
|
@ -1059,7 +1059,7 @@ CURLcode Curl_setopt(struct SessionHandle *data, CURLoption option,
|
|||
result = CURLE_OUT_OF_MEMORY;
|
||||
else {
|
||||
if(data->set.postfieldsize)
|
||||
memcpy(p, argptr, data->set.postfieldsize);
|
||||
memcpy(p, argptr, (size_t)data->set.postfieldsize);
|
||||
|
||||
data->set.str[STRING_COPYPOSTFIELDS] = p;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue