summaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2011-02-08 14:32:54 -0500
committerAdam Jackson <ajax@redhat.com>2011-02-23 13:39:03 -0500
commit5d0910b4fdf99e3239635a01eb2709c32d0e5bb9 (patch)
tree020b2812b917f608e5c45c2feb039fd27a10786d /hw
parente1b5d3e5e7f157ab769c40ad2efdc1281c25a03a (diff)
glxproxy: warning fix
glxcmds.c: In function ‘CreateGLXPixmap’: glxcmds.c:1663:20: warning: comparison between pointer and integer glxcmds.c:1663:38: warning: comparison between pointer and integer Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Signed-off-by: Adam Jackson <ajax@redhat.com>
Diffstat (limited to 'hw')
-rw-r--r--hw/dmx/glxProxy/glxcmds.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/dmx/glxProxy/glxcmds.c b/hw/dmx/glxProxy/glxcmds.c
index 6196540ca..f79264ea9 100644
--- a/hw/dmx/glxProxy/glxcmds.c
+++ b/hw/dmx/glxProxy/glxcmds.c
@@ -1660,7 +1660,7 @@ static int CreateGLXPixmap(__GLXclientState *cl,
return BadMatch;
}
- if (fbconfigId == NULL && visual == NULL) {
+ if (fbconfigId == 0 && visual == 0) {
return BadValue;
}