Mike McCormack : hh: Cast GetProcAddress' s return to supress a Win64 warning.
Module: wine Branch: refs/heads/master Commit: 639e8d26f7792bb6041c04b9c3b3ac74918a5692 URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=639e8d26f7792bb6041c04b9... Author: Mike McCormack <mike(a)codeweavers.com> Date: Tue Jun 6 14:21:29 2006 +0900 hh: Cast GetProcAddress's return to supress a Win64 warning. --- programs/hh/main.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/programs/hh/main.c b/programs/hh/main.c index 16bf8ab..9150692 100644 --- a/programs/hh/main.c +++ b/programs/hh/main.c @@ -29,7 +29,7 @@ int WINAPI WinMain(HINSTANCE hInst, HINS DOWINMAIN *doWinMain; hModule = LoadLibrary("hhctrl.ocx"); - doWinMain = GetProcAddress(hModule, "doWinMain"); + doWinMain = (DOWINMAIN*) GetProcAddress(hModule, "doWinMain"); return doWinMain(hInst, cmdline); }
participants (1)
-
Alexandre Julliard