]> git.ipfire.org Git - thirdparty/curl.git/commit
easygetopt: pass a valid enum to avoid compiler warning
authorDaniel Stenberg <daniel@haxx.se>
Sat, 5 Sep 2020 10:52:03 +0000 (12:52 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Sat, 5 Sep 2020 12:44:11 +0000 (14:44 +0200)
commit879007f8118771f4896334731aaca5850a154675
treefcf68ab5a73670ff286c47a3932db15b421810b1
parenta86cc7e2ab96d3d2bda380c9a1a9bb3c80bb422f
easygetopt: pass a valid enum to avoid compiler warning

"integer constant not in range of enumerated type 'CURLoption'"

Reported-by: Gisle Vanem
Bug: https://github.com/curl/curl/commit/6ebe63fac23f38df911edc348e8ccc72280f9434#commitcomment-42042843

Closes #5915
lib/easygetopt.c