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

Fixed Makefile and error: comparison of integers of different signs #2

Closed
wants to merge 2 commits into from
Closed

Conversation

ericbsd
Copy link

@ericbsd ericbsd commented Jan 7, 2022

Resolves #1

pam_helper.c:93:18: error: comparison of integers of different signs: 'ssize_t' (aka 'long') and 'size_t' (aka 'unsigned long') [-Werror,-Wsign-compare]
                        if (num_write != msg_len) {
                            ~~~~~~~~~ ^  ~~~~~~~
pam_helper.c:116:17: error: comparison of integers of different signs: 'ssize_t' (aka 'long') and 'size_t' (aka 'unsigned long') [-Werror,-Wsign-compare]
                        if (num_read == msg_len)
                            ~~~~~~~~ ^  ~~~~~~~
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ld: error: undefined symbol:
1 participant