mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-24 21:21:05 +00:00
COMMON: Fix build when uint32_t and uint32 are not defined the same
FriBidiChar is mapped to uint32_t (from stdint.h) while U32String is composed of uint32 (from scummsys.h/config.h). On some platforms those two types aren't defined using the same base type (long int vs int) and compilation errors occur.
This commit is contained in:
parent
554ed06034
commit
66b8cf9cac
@ -85,7 +85,7 @@ void UnicodeBiDiText::initWithU32String(const U32String &input) {
|
||||
_log_to_vis_index = NULL;
|
||||
_vis_to_log_index = NULL;
|
||||
} else {
|
||||
visual = U32String(visual_str, input.size());
|
||||
visual = U32String((uint32 *)visual_str, input.size());
|
||||
delete[] visual_str;
|
||||
}
|
||||
#else
|
||||
|
Loading…
x
Reference in New Issue
Block a user