=?UTF-8?Q?Fr=C3=A9d=C3=A9ric=20Delanoy=20?=: opengl32: Avoid superfluous ( void*) cast in LOAD_FUNCPTR macro.

Alexandre Julliard julliard at winehq.org
Mon Oct 24 13:43:55 CDT 2011


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

Author: Frédéric Delanoy <frederic.delanoy at gmail.com>
Date:   Sat Oct 22 14:59:00 2011 +0200

opengl32: Avoid superfluous (void*) cast in LOAD_FUNCPTR macro.

---

 dlls/opengl32/wgl.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/opengl32/wgl.c b/dlls/opengl32/wgl.c
index f6cf469..cd60eb2 100644
--- a/dlls/opengl32/wgl.c
+++ b/dlls/opengl32/wgl.c
@@ -345,7 +345,7 @@ static void *load_libglu(void)
         return NULL;
     }
 
-#define LOAD_FUNCPTR(f) if((p##f = (void*)wine_dlsym(handle, #f, NULL, 0)) == NULL) goto sym_not_found;
+#define LOAD_FUNCPTR(f) if((p##f = wine_dlsym(handle, #f, NULL, 0)) == NULL) goto sym_not_found;
 LOAD_FUNCPTR(gluNewTess)
 LOAD_FUNCPTR(gluDeleteTess)
 LOAD_FUNCPTR(gluTessBeginContour)




More information about the wine-cvs mailing list