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

nasl_http.c:182:19 type mismatch #255

Closed
Eveink opened this issue Jan 27, 2019 · 1 comment
Closed

nasl_http.c:182:19 type mismatch #255

Eveink opened this issue Jan 27, 2019 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@Eveink
Copy link

Eveink commented Jan 27, 2019

nasl_http.c:182:19: error: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘size_t’ [-Werror=format=]

shoud cast strlen (data) with (long)strlen (data)

Edit Removed the cross-compiling question which is unrelated to the initial report.

@kroosec
Copy link
Contributor

kroosec commented Apr 6, 2019

Thanks for the report. This was fixed in #299

@kroosec kroosec closed this as completed Apr 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants