bd9dd0c6c9
function to take a wchar_t as it's argument. This fixes the build when wchar_t is not an int, i.e. ARM EABI.