https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88156
--- Comment #2 from xantares09 at hotmail dot com --- Thanks for the quick reply. On mingw __WCHAR_TYPE__ expands to short unsigned int: $ x86_64-w64-mingw32-gcc -E main.c ... # 3 "main.cxx" int string_hash(const short unsigned int* data) { On x86_64-linux it expands to int: $ gcc -E main.c ... # 3 "main.c" int string_hash(const int* data) {