mirror of
https://github.com/curl/curl.git
synced 2025-01-30 14:22:33 +08:00
easyoptions: fix icc warning
easyoptions.c(360): error #188: enumerated type mixed with another type Ref: #9156 Reported-by: Matthew Thompson Closes #9176
This commit is contained in:
parent
b9b6148c45
commit
dfe5a3023b
@ -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
|
||||
|
@ -103,7 +103,7 @@ for my $name (sort @names) {
|
||||
}
|
||||
|
||||
print <<FOOT
|
||||
{NULL, CURLOPT_LASTENTRY, 0, 0} /* end of table */
|
||||
{NULL, CURLOPT_LASTENTRY, CURLOT_LONG, 0} /* end of table */
|
||||
};
|
||||
|
||||
#ifdef DEBUGBUILD
|
||||
|
Loading…
Reference in New Issue
Block a user