Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Various fixes #4

Merged
merged 5 commits into from Jun 23, 2012

Conversation

Projects
None yet
2 participants
Contributor

b4n commented Jun 22, 2012

No description provided.

b4n added some commits Jun 22, 2012

Always use literals as the format argument for printf-style functions
Passing a string literal as the format argument of a printf-style
function allows some compilers (GCC) to check the format and the
format's arguments.  This helps at spotting missing arguments or
incorrect formats which could be security issues (if e.g. reading
uninitialized memory).
Fix for a few ISO C violations
1) ISO C does not allows extra `;` outside of a function;
2) ISO C99 requires the ... in a variadic macro to be used.

@codebrainz codebrainz merged commit 51334a0 into codebrainz:master Jun 23, 2012

Owner

codebrainz commented Jun 23, 2012

Thanks dude

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