diff options
Diffstat (limited to 'libs/libcurl/src/easygetopt.c')
-rw-r--r-- | libs/libcurl/src/easygetopt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/libcurl/src/easygetopt.c b/libs/libcurl/src/easygetopt.c index b54f1db880..e126075854 100644 --- a/libs/libcurl/src/easygetopt.c +++ b/libs/libcurl/src/easygetopt.c @@ -29,12 +29,12 @@ #ifndef CURL_DISABLE_GETOPTIONS
/* Lookups easy options at runtime */
-static struct curl_easyoption *lookup(const char *name, CURLoption id)
+static const struct curl_easyoption *lookup(const char *name, CURLoption id)
{
DEBUGASSERT(name || id);
DEBUGASSERT(!Curl_easyopts_check());
if(name || id) {
- struct curl_easyoption *o = &Curl_easyopts[0];
+ const struct curl_easyoption *o = &Curl_easyopts[0];
do {
if(name) {
if(strcasecompare(o->name, name))
|