-
Notifications
You must be signed in to change notification settings - Fork 595
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
Type conversion warnings #727
Comments
Without looking deep into the code, if this is a bit-width issue these % formatters should be replaced with PRIxxx macros (or |
PRI macros were added in C99 to be used with types from stdint.h Since Nuklear is C89 and can't require Lines 118 to 185 in 69d7b4c
|
..\Nuklear\common\overview.c(430,33): warning C4477: 'sprintf' : format string '%lu' requires an argument of type 'unsigned long', but variadic argument 1 has type 'size_t'
..\Nuklear\common\overview.c(430,33): message : consider using '%zu' in the format string
..\Nuklear\common\overview.c(442,33): warning C4477: 'sprintf' : format string '%lu' requires an argument of type 'unsigned long', but variadic argument 1 has type 'size_t'
..\Nuklear\common\overview.c(442,33): message : consider using '%zu' in the format string
The text was updated successfully, but these errors were encountered: