From: Daniel Stenberg Date: Mon, 18 Jul 2022 21:38:36 +0000 (+0200) Subject: easyoptions: fix icc warning X-Git-Tag: curl-7_85_0~156 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=dfe5a3023b76b09d1c9aa070e19cbd84d1f2dba5;p=thirdparty%2Fcurl.git easyoptions: fix icc warning easyoptions.c(360): error #188: enumerated type mixed with another type Ref: #9156 Reported-by: Matthew Thompson Closes #9176 --- diff --git a/lib/easyoptions.c b/lib/easyoptions.c index 78a7ade6c8..412aefd990 100644 --- a/lib/easyoptions.c +++ b/lib/easyoptions.c @@ -357,7 +357,7 @@ struct curl_easyoption Curl_easyopts[] = { {"XFERINFODATA", CURLOPT_XFERINFODATA, CURLOT_CBPTR, 0}, {"XFERINFOFUNCTION", CURLOPT_XFERINFOFUNCTION, CURLOT_FUNCTION, 0}, {"XOAUTH2_BEARER", CURLOPT_XOAUTH2_BEARER, CURLOT_STRING, 0}, - {NULL, CURLOPT_LASTENTRY, 0, 0} /* end of table */ + {NULL, CURLOPT_LASTENTRY, CURLOT_LONG, 0} /* end of table */ }; #ifdef DEBUGBUILD diff --git a/lib/optiontable.pl b/lib/optiontable.pl index 31f8b0e3dc..78ce580121 100644 --- a/lib/optiontable.pl +++ b/lib/optiontable.pl @@ -103,7 +103,7 @@ for my $name (sort @names) { } print <