Skip to content

tool_operate: fix typecheck warning - #3534

Closed
MarcelRaad wants to merge 1 commit into
curl:masterfrom
MarcelRaad:tool_warning
Closed

MarcelRaad wants to merge 1 commit into
curl:masterfrom
MarcelRaad:tool_warning

Conversation

@MarcelRaad

Copy link
Copy Markdown
Member

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]

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]
@MarcelRaad MarcelRaad closed this in 91e397b Feb 7, 2019
@MarcelRaad
MarcelRaad deleted the tool_warning branch February 7, 2019 17:42
@lock lock Bot locked as resolved and limited conversation to collaborators May 8, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants