dlls/x11drv/opengl.c and NULL
Gerald Pfeifer
gerald at pfeifer.com
Wed Sep 28 08:59:48 CDT 2005
This patch addresses the following warning seen on SUSE LINUX 9.3:
opengl.c: In function `create_glxpixmap':
opengl.c:596: warning: return makes integer from pointer without a cast
Gerald
ChangeLog:
Use 0 (the integer) instead of NULL (the pointer) in create_glxpixmap().
Index: opengl.c
===================================================================
RCS file: /home/wine/wine/dlls/x11drv/opengl.c,v
retrieving revision 1.15
diff -u -r1.15 opengl.c
--- opengl.c 26 Sep 2005 11:04:12 -0000 1.15
+++ opengl.c 28 Sep 2005 13:57:38 -0000
@@ -593,7 +593,7 @@
XID create_glxpixmap(X11DRV_PDEVICE *physDev)
{
- return NULL;
+ return 0;
}
BOOL destroy_glxpixmap(XID glxpixmap)
More information about the wine-patches
mailing list