hh: Cast GetProcAddress's return to supress a Win64 warning.

This commit is contained in:
Mike McCormack 2006-06-06 14:21:29 +09:00 committed by Alexandre Julliard
parent 5ea2a17776
commit 639e8d26f7
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ int WINAPI WinMain(HINSTANCE hInst, HINSTANCE hPrevInst, LPSTR cmdline, int cmds
DOWINMAIN *doWinMain; DOWINMAIN *doWinMain;
hModule = LoadLibrary("hhctrl.ocx"); hModule = LoadLibrary("hhctrl.ocx");
doWinMain = GetProcAddress(hModule, "doWinMain"); doWinMain = (DOWINMAIN*) GetProcAddress(hModule, "doWinMain");
return doWinMain(hInst, cmdline); return doWinMain(hInst, cmdline);
} }