1
0
mirror of https://github.com/libretro/RetroArch synced 2024-07-08 12:15:49 +00:00
RetroArch/menu
Nathan Strong fb86ca6e33 Fix the snprintf warnings for everyone this time
== DETAILS
So, basically this back-and-forth is because we used fixed-size
data types (i.e. `uint32_t`) which maps to different primitive data
types on different platforms. So `uint32_t` might be a `long` on some
platforms (e.g. Wii U), while it's just a plain integer on others (PC).
And the format specifier works off primitive data type, not data type
size.

So, to resolve this, we:

- keep `%lx` as the format specifier
- cast the parameter to printf to unsigned long

This is better than the alternatives that could cause problems trying to
cast a long down to an int.
2021-09-25 15:08:34 -07:00
..
cbs Fix the snprintf warnings for everyone this time 2021-09-25 15:08:34 -07:00
drivers Don't do rotate_z call for every draw_texture_slice call 2021-09-21 21:38:07 +02:00
menu_cbs.h move more code out of retroarch.c/retroarch_data.h and into 2021-09-21 05:11:39 +02:00
menu_defines.h Revert "I have added a new theme for Ozone (Ocean Blue)" 2021-08-02 17:14:45 +02:00
menu_dialog.h Further cleanups to do with menu_dialog code 2021-03-12 11:03:57 +01:00
menu_displaylist.c Fix the snprintf warnings for everyone this time 2021-09-25 15:08:34 -07:00
menu_displaylist.h Add HDR support for D3D12 (rebased PR from MajorPainTheCactus) (#12917) 2021-09-03 06:15:25 +02:00
menu_driver.c Have only one getter for runloop_state 2021-09-21 19:08:26 +02:00
menu_driver.h Get rid of menu_driver_get_ptr - we are going to be using only one 2021-09-21 07:14:27 +02:00
menu_entries.h Move some code from retroarch.c over to menu_driver.c 2021-09-09 15:22:12 +02:00
menu_explore.c Get rid of menu_driver_get_ptr - we are going to be using only one 2021-09-21 07:14:27 +02:00
menu_input_bind_dialog.h (menu) move headers around - no more menu/widgets 2020-06-27 19:33:49 +02:00
menu_input.h move more code out of retroarch.c/retroarch_data.h and into 2021-09-21 05:11:39 +02:00
menu_screensaver.c Get rid of gfx_display_draw_texture - use gfx_display_draw_quad instead 2021-08-22 17:57:21 +02:00
menu_screensaver.h (XMB/GLUI/Ozone) Add optional menu screensaver animations 2021-04-13 15:36:57 +01:00
menu_setting.c New feature: Use gamepad combo to quit Retroarch (#13017) 2021-09-24 18:30:46 +02:00
menu_setting.h Get rid of menu_setting_ctl 2021-03-11 08:38:53 +01:00
menu_shader.h Small cleanups 2021-09-18 06:15:02 +02:00