Michael Stefaniuc : wintab32/tests: Remove a function pointer cast.

Alexandre Julliard julliard at winehq.org
Mon Nov 19 13:38:38 CST 2012


Module: wine
Branch: master
Commit: d94b651519eea53a7d9a4b17e96a6b09271d680e
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=d94b651519eea53a7d9a4b17e96a6b09271d680e

Author: Michael Stefaniuc <mstefani at redhat.de>
Date:   Mon Nov 19 09:29:48 2012 +0100

wintab32/tests: Remove a function pointer cast.

---

 dlls/wintab32/tests/context.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/wintab32/tests/context.c b/dlls/wintab32/tests/context.c
index 6b37129..5f05912 100644
--- a/dlls/wintab32/tests/context.c
+++ b/dlls/wintab32/tests/context.c
@@ -80,7 +80,7 @@ static void wintab_create_window(HWND* pHwnd)
 
     ZeroMemory(&testWindowClass, sizeof(testWindowClass));
 
-    testWindowClass.lpfnWndProc   = (WNDPROC)wintabTestWndProc;
+    testWindowClass.lpfnWndProc   = wintabTestWndProc;
     testWindowClass.hInstance     = NULL;
     testWindowClass.hIcon         = NULL;
     testWindowClass.hCursor       = NULL;




More information about the wine-cvs mailing list