From 631e6275c2f34ec18cb87c9739a670f7a723abb4 Mon Sep 17 00:00:00 2001 From: Ignacio Castano Date: Sun, 23 Aug 2020 21:55:41 -0700 Subject: [PATCH] Minor fix. --- ic_pfor.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ic_pfor.h b/ic_pfor.h index 35d7057..7ef3adc 100644 --- a/ic_pfor.h +++ b/ic_pfor.h @@ -243,7 +243,7 @@ typedef BOOL (WINAPI *LPFN_GSI)(LPSYSTEM_INFO); typedef BOOL (WINAPI *LPFN_ISWOW64PROCESS) (HANDLE, PBOOL); static bool isWow64() { - LPFN_ISWOW64PROCESS fnIsWow64Process = (LPFN_ISWOW64PROCESS)GetProcAddress(GetModuleHandle("kernel32"), "IsWow64Process"); + LPFN_ISWOW64PROCESS fnIsWow64Process = (LPFN_ISWOW64PROCESS)GetProcAddress(GetModuleHandle(TEXT("kernel32")), "IsWow64Process"); BOOL wow64 = FALSE;