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

Fix build failure with gcc 7 #29

Merged
merged 1 commit into from Aug 29, 2017

Conversation

Projects
None yet
2 participants
@rhertzog
Contributor

rhertzog commented Aug 25, 2017

This looks like a fairly simple mistake. gcc 7 refuses the comparison of
a pointer with a char. I believe the intent was to dereference the
pointer and compare the character read at the pointer address.

Fixes #24.

Bug-Debian: https://bugs.debian.org/853570

Fix build failure with gcc 7
This looks like a fairly simple mistake. gcc 7 refuses the comparison of
a pointer with a char. I believe the intent was to dereference the
pointer and compare the character read at the pointer address.

Fixes #24.

Bug-Debian: https://bugs.debian.org/853570

@ithilgore ithilgore merged commit e270644 into nmap:master Aug 29, 2017

@ithilgore

This comment has been minimized.

Show comment
Hide comment
@ithilgore

ithilgore Aug 29, 2017

Collaborator

Thanks for the fix. Let me know if there are any other issues.

Collaborator

ithilgore commented Aug 29, 2017

Thanks for the fix. Let me know if there are any other issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment