Skip to content

Fix compile warnings printing size_t #337

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

Merged
merged 1 commit into from
Oct 6, 2014

Conversation

awiddersheim
Copy link
Member

Every time I was building on Windows I was getting the following warnings:

os_crypto/shared/msgs.c:555:21: warning: format '%lu' expects type 'long unsigned int', but argument 4 has type 'size_t'
os_crypto/shared/msgs.c:555:21: warning: format '%lu' expects type 'long unsigned int', but argument 5 has type 'size_t'
os_crypto/shared/msgs.c:555:21: warning: format '%lu' expects type 'long unsigned int', but argument 6 has type 'size_t'

I think these were coming from the changes made in 45b7590.

This seems like the best fix but perhaps there is something better.

cgzones added a commit that referenced this pull request Oct 6, 2014
@cgzones cgzones merged commit 0ebb8ec into ossec:master Oct 6, 2014
@awiddersheim awiddersheim deleted the fix_win32_compile_warnings branch October 6, 2014 14:39
@jrossi jrossi added this to the ossec-hids-2.9 milestone Oct 7, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants