crt: Fix the parameter types of the 32 bit _wfindfirst alias Signed-off-by: Martin Storsjö <martin@martin.st>
diff --git a/mingw-w64-crt/stdio/_wfindfirst32.c b/mingw-w64-crt/stdio/_wfindfirst32.c index e6038eb..614fe36 100644 --- a/mingw-w64-crt/stdio/_wfindfirst32.c +++ b/mingw-w64-crt/stdio/_wfindfirst32.c
@@ -22,7 +22,7 @@ #ifndef _WIN64 #undef _wfindfirst PRAGMA_DIAGNOSTIC_IGNORED_ATTRIBUTE_ALIAS_BEGIN -intptr_t __attribute__ ((alias ("_wfindfirst32"))) __cdecl _wfindfirst(const char *, struct _wfinddata32_t *); -extern intptr_t __attribute__ ((alias (__MINGW64_STRINGIFY(__MINGW_IMP_SYMBOL(_wfindfirst32))))) (__cdecl *__MINGW_IMP_SYMBOL(_wfindfirst))(const char *, struct _wfinddata32_t *); +intptr_t __attribute__ ((alias ("_wfindfirst32"))) __cdecl _wfindfirst(const wchar_t *, struct _wfinddata32_t *); +extern intptr_t __attribute__ ((alias (__MINGW64_STRINGIFY(__MINGW_IMP_SYMBOL(_wfindfirst32))))) (__cdecl *__MINGW_IMP_SYMBOL(_wfindfirst))(const wchar_t *, struct _wfinddata32_t *); PRAGMA_DIAGNOSTIC_IGNORED_ATTRIBUTE_ALIAS_END #endif