mirror of
https://github.com/curl/curl.git
synced 2026-08-25 13:23:33 +03:00
formdata: fix warning: 'CURLformoption' is promoted to 'int'
curl/lib/formdata.c: In function 'FormAdd':
curl/lib/formdata.c:249:31: warning: 'CURLformoption' is promoted to 'int' when passed through '...'
249 | option = va_arg(params, CURLformoption);
| ^
curl/lib/formdata.c:249:31: note: (so you should pass 'int' not 'CURLformoption' to 'va_arg')
curl/lib/formdata.c:249:31: note: if this code is reached, the program will abort
Closes #9484
This commit is contained in:
parent
dbaa1e17a6
commit
0f52dd5fd5
2 changed files with 5 additions and 2 deletions
1
.mailmap
1
.mailmap
|
|
@ -96,3 +96,4 @@ Oliver Roberts <oliver@futaura.co.uk>
|
|||
opensignature on github <antonio@piumarossa.it>
|
||||
Cering on github <gfypm@qq.com>
|
||||
a1346054 on github <36859588+a1346054@users.noreply.github.com>
|
||||
zhanghu on xiaomi <zhanghu6@xiaomi.com>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue