hh: Cast GetProcAddress's return to supress a Win64 warning.
This commit is contained in:
parent
5ea2a17776
commit
639e8d26f7
|
@ -29,7 +29,7 @@ int WINAPI WinMain(HINSTANCE hInst, HINSTANCE hPrevInst, LPSTR cmdline, int cmds
|
|||
DOWINMAIN *doWinMain;
|
||||
|
||||
hModule = LoadLibrary("hhctrl.ocx");
|
||||
doWinMain = GetProcAddress(hModule, "doWinMain");
|
||||
doWinMain = (DOWINMAIN*) GetProcAddress(hModule, "doWinMain");
|
||||
|
||||
return doWinMain(hInst, cmdline);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue