summaryrefslogtreecommitdiffstats
path: root/drivers/unix/file_access_unix.cpp
diff options
context:
space:
mode:
authorJan Haller <bromeon@gmail.com>2023-09-24 15:58:28 +0200
committerJan Haller <bromeon@gmail.com>2023-09-24 20:57:57 +0200
commit43be9fa0c8024abab0ce684ed30a8c9c6234558f (patch)
tree4c8ca733962a305792b47fb97452d5acb70a0dda /drivers/unix/file_access_unix.cpp
parented3015e97962cfe483e9206601bb9c6ab7648c9a (diff)
downloadredot-engine-43be9fa0c8024abab0ce684ed30a8c9c6234558f.tar.gz
Fix platform-dependent hashing for char* and wchar_t*
Since char/wchar_t can be either signed or unsigned, its conversion to uint32_t leads to different values depending on platform. In particular, the same string represented as char* (Latin-1; StringName direct construction) or uint32_t (UTF-8; constructed via String) previously resulted in different hashes.
Diffstat (limited to 'drivers/unix/file_access_unix.cpp')
0 files changed, 0 insertions, 0 deletions