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

Fix make libowper.a failing on OS X due to printf format warnings (and -Werror) #7

Merged
1 commit merged into from Dec 15, 2010

Conversation

BinaryMuse
Copy link
Contributor

On my OS X 10.6.5, make libowper.a is failing with multiple similar instances of the following error:

src/ntreg.c:386: warning: format ‘%04x’ expects type ‘unsigned int’, but argument 2 has type ‘long int’

This patch modifies the D_OFFS macro to cast the argument to the correct type. This has only been tested on OS X 10.6.5.

@lytithwyn
Copy link
Owner

Cool! Thanks!

This pull request was closed.
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.

None yet

2 participants