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>
This commit is contained in:
Adam Jackson 2011-02-08 14:32:54 -05:00
parent e1b5d3e5e7
commit 5d0910b4fd

View File

@ -1660,7 +1660,7 @@ static int CreateGLXPixmap(__GLXclientState *cl,
return BadMatch;
}
if (fbconfigId == NULL && visual == NULL) {
if (fbconfigId == 0 && visual == 0) {
return BadValue;
}