Files
MINGW-packages/mingw-w64-mhook/010-char.patch
Rosen Penev c2601f7b2e mhook: fix compilation with clang
main function must be char**.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-12-24 20:26:56 -08:00

12 lines
261 B
Diff

--- a/tests/mhook-test.cpp
+++ b/tests/mhook-test.cpp
@@ -121,7 +121,7 @@ ULONG WINAPI HookNtClose(HANDLE hHandle) {
//
#ifndef _MSC_VER
-int main(int argc, WCHAR* argv[])
+int main(int argc, CHAR* argv[])
#else
int wmain(int argc, WCHAR* argv[])
#endif