From 639e8d26f7792bb6041c04b9c3b3ac74918a5692 Mon Sep 17 00:00:00 2001 From: Mike McCormack Date: Tue, 6 Jun 2006 14:21:29 +0900 Subject: [PATCH] hh: Cast GetProcAddress's return to supress a Win64 warning. --- programs/hh/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }