Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tool_operate: fix typecheck warning #3534

Closed
wants to merge 1 commit into from

Conversation

@MarcelRaad
Copy link
Member

commented Feb 6, 2019

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]

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]
@bagder
bagder approved these changes Feb 7, 2019

@MarcelRaad MarcelRaad closed this in 91e397b Feb 7, 2019

@MarcelRaad MarcelRaad deleted the MarcelRaad:tool_warning branch Feb 7, 2019

@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.
Projects
None yet
2 participants
You can’t perform that action at this time.