diff --git a/programs/hh/main.c b/programs/hh/main.c index 16bf8ab5642..91506927fd2 100644 --- a/programs/hh/main.c +++ b/programs/hh/main.c @@ -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); }