diff options
author | Yang Tse <yangsita@gmail.com> | 2007-11-08 19:28:25 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2007-11-08 19:28:25 +0000 |
commit | e87c996fe04ea16468af0fa13d89034b15fd36de (patch) | |
tree | 09491f67be8939781b3a2e7b24bb798133300157 /lib | |
parent | 32195c673de46a48457709bd4efa5c63525e1d68 (diff) |
Fix compiler warning: integral size mismatch in argument
Diffstat (limited to 'lib')
-rw-r--r-- | lib/url.c | 2 |
1 files changed, 1 insertions, 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; } |