CURLcode Curl_getFormData(struct FormData **finalform,
struct curl_httppost *post,
- size_t *sizep)
+ curl_off_t *sizep)
{
struct FormData *form = NULL;
struct FormData *firstform;
CURLcode
Curl_getFormData(struct FormData **,
struct curl_httppost *post,
- size_t *size);
+ curl_off_t *size);
/* fread() emulation */
size_t Curl_FormReader(char *buffer,
conn->bits.forbidchunk= (http->sending == HTTPSEND_REQUEST)?TRUE:FALSE;
if(http->postsize <= fullsize) {
- memcpy(buffer, http->postdata, http->postsize);
- fullsize = http->postsize;
+ memcpy(buffer, http->postdata, (size_t)http->postsize);
+ fullsize = (size_t)http->postsize;
if(http->backup.postsize) {
/* move backup data into focus and continue on that */