Edit

kc3-lang/SDL/src/audio

Branch :

  • Show log

    Commit

  • Author : Jay Petacat
    Date : 2021-02-11 02:05:02
    Hash : f443a6fc
    Message : Fix format string warnings for width-based integers 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.