NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

xsrc/41901: One missing "(" in mipmap.c



>Number:         41901
>Category:       xsrc
>Synopsis:       One missing "(" in mipmap.c
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    xsrc-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Aug 17 07:50:00 +0000 2009
>Originator:     Henning Petersen
>Release:        current-NetBSD
>Organization:
>Environment:
>Description:
One missing "(" in mipmap.c
>How-To-Repeat:

>Fix:
diff -u -r1.1.1.2 mipmap.c
--- MesaLib/dist/src/glu/sgi/libutil/mipmap.c   11 Jun 2009 00:50:22 -0000      
1.1.1.2
+++ MesaLib/dist/src/glu/sgi/libutil/mipmap.c   17 Aug 2009 07:00:42 -0000
@@ -6643,7 +6643,7 @@
         pTexImage3D = (TexImage3Dproc) wglGetProcAddress("glTexImage3DEXT");
 #else
       void *libHandle = dlopen("libgl.so", RTLD_LAZY);
-      pTexImage3D = TexImage3Dproc) dlsym(libHandle, "glTexImage3D" );
+      pTexImage3D = (TexImage3Dproc) dlsym(libHandle, "glTexImage3D" );
       if (!pTexImage3D)
         pTexImage3D = (TexImage3Dproc) dlsym(libHandle,"glTexImage3DEXT");
       dlclose(libHandle);



Home | Main Index | Thread Index | Old Index