mirror of
https://github.com/Ryujinx/SDL.git
synced 2024-12-25 14:35:34 +00:00
f443a6fc7a
The DJGPP compiler emits many warnings for conflicts between print format specifiers and argument types. To fix the warnings, I added `SDL_PRIx32` macros for use with `Sint32` and `Uint32` types. The macros alias those found in <inttypes.h> or fallback to a reasonable default. As an alternative, print arguments could be cast to plain old integers. I opted slightly for the current solution as it felt more technically correct, despite making the format strings more verbose. |
||
---|---|---|
.. | ||
SDL_nullevents.c | ||
SDL_nullevents_c.h | ||
SDL_nullframebuffer.c | ||
SDL_nullframebuffer_c.h | ||
SDL_nullvideo.c | ||
SDL_nullvideo.h |