]> granicus.if.org Git - curl/commit
tool_operate: fix typecheck warning
authorMarcel Raad <Marcel.Raad@teamviewer.com>
Wed, 6 Feb 2019 13:59:15 +0000 (14:59 +0100)
committerMarcel Raad <Marcel.Raad@teamviewer.com>
Thu, 7 Feb 2019 17:36:53 +0000 (18:36 +0100)
commit91e397b24297055fdc49916b5ce901d63745dd5e
treeba376b2be1350ded26a5d3aaed6ceda5aaf7df75
parent927a5bd1b4f95fe2331c9d9923c620ba8e274d6c
tool_operate: fix typecheck warning

Use long for CURLOPT_HTTP09_ALLOWED to fix the following warning:
tool_operate.c: In function 'operate_do':
../include/curl/typecheck-gcc.h:47:9: error: call to
'_curl_easy_setopt_err_long' declared with attribute warning:
curl_easy_setopt expects a long argument for this option [-Werror]

Closes https://github.com/curl/curl/pull/3534
src/tool_operate.c