dxx-rebirth/common/arch/sdl
Kp 3cc644eb52 Fix gcc-7 build of joy.cpp
gcc-7 needs an additional cf_assert to inform it that e.idx is
constrained.  Without this, it assumes e.idx could have any positive
value, then issues a fatal warning when INT_MAX does not fit in the
provided buffer.

    common/arch/sdl/joy.cpp: In function 'void dcx::joy_init()':
    common/arch/sdl/joy.cpp:281:6: error: '%u' directive output may be truncated writing between 1 and 10 bytes into a region of size between 0 and 4 [-Werror=format-truncation=]
    common/arch/sdl/joy.cpp:281:6: note: directive argument in the range [1, 2147483647]
    common/arch/sdl/joy.cpp:333:13: note: 'snprintf' output between 6 and 24 bytes into a destination of size 8
2019-04-28 00:53:40 +00:00
..
digi_mixer_music.cpp Make ADL MIDI runtime configurable 2018-10-18 02:18:56 +00:00
event.cpp Switch most in-tree http:// links to https:// 2018-09-02 00:57:29 +00:00
joy.cpp Fix gcc-7 build of joy.cpp 2019-04-28 00:53:40 +00:00
key.cpp Switch most in-tree http:// links to https:// 2018-09-02 00:57:29 +00:00
mouse.cpp Switch most in-tree http:// links to https:// 2018-09-02 00:57:29 +00:00
rbaudio.cpp Switch most in-tree http:// links to https:// 2018-09-02 00:57:29 +00:00
timer.cpp Switch most in-tree http:// links to https:// 2018-09-02 00:57:29 +00:00
window.cpp Switch most in-tree http:// links to https:// 2018-09-02 00:57:29 +00:00