mirror of
https://github.com/libretro/RetroArch
synced 2024-07-08 12:15:49 +00:00
== 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. |
||
---|---|---|
.. | ||
cbs | ||
drivers | ||
menu_cbs.h | ||
menu_defines.h | ||
menu_dialog.h | ||
menu_displaylist.c | ||
menu_displaylist.h | ||
menu_driver.c | ||
menu_driver.h | ||
menu_entries.h | ||
menu_explore.c | ||
menu_input_bind_dialog.h | ||
menu_input.h | ||
menu_screensaver.c | ||
menu_screensaver.h | ||
menu_setting.c | ||
menu_setting.h | ||
menu_shader.h |