Frédéric Delanoy : opengl32: Avoid superfluous ( void*) cast in LOAD_FUNCPTR macro.
Module: wine Branch: master Commit: 812c06ae94a2352427c7e3ccc4b55c56b70ce787 URL: http://source.winehq.org/git/wine.git/?a=commit;h=812c06ae94a2352427c7e3ccc4... Author: Frédéric Delanoy <frederic.delanoy(a)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)
participants (1)
-
Alexandre Julliard