mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-30 01:38:45 +00:00
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 | ||