mirror of
https://github.com/libretro/RetroArch
synced 2025-01-06 01:02:15 +00:00
c594e8801d
UTF8 byte codes are commonly stored in signed char types thus these macros could be called with negative numbers. Avoid invalid memory access by clamping the input values to 0 ~ 255 with an unsigned char cast. |
||
---|---|---|
.. | ||
stdstring.h |