mirror of https://github.com/libsdl-org/SDL.git
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_test_assert.c | ||
| SDL_test_common.c | ||
| SDL_test_compare.c | ||
| SDL_test_crc32.c | ||
| SDL_test_font.c | ||
| SDL_test_fuzzer.c | ||
| SDL_test_harness.c | ||
| SDL_test_imageBlit.c | ||
| SDL_test_imageBlitBlend.c | ||
| SDL_test_imageFace.c | ||
| SDL_test_imagePrimitives.c | ||
| SDL_test_imagePrimitivesBlend.c | ||
| SDL_test_log.c | ||
| SDL_test_md5.c | ||
| SDL_test_memory.c | ||
| SDL_test_random.c | ||