|
@@ -254,7 +254,7 @@ CURLFORMcode FormAdd(struct curl_httppost **httppost,
|
|
|
/* This is not array-state, get next option. This gets an 'int' with
|
|
|
va_arg() because CURLformoption might be a smaller type than int and
|
|
|
might cause compiler warnings and wrong behavior. */
|
|
|
- option = va_arg(params, int);
|
|
|
+ option = (CURLformoption)va_arg(params, int);
|
|
|
if(CURLFORM_END == option)
|
|
|
break;
|
|
|
}
|