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

Alexandre Julliard julliard at wine.codeweavers.com
Tue Jun 6 05:15:43 CDT 2006


Module: wine
Branch: refs/heads/master
Commit: 639e8d26f7792bb6041c04b9c3b3ac74918a5692
URL:    http://source.winehq.org/git/?p=wine.git;a=commit;h=639e8d26f7792bb6041c04b9c3b3ac74918a5692

Author: Mike McCormack <mike at 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); 
 }




More information about the wine-cvs mailing list