projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
71a6fb1
)
glx: Change type to eliminate 'comparison between signed and unsigned' warning
author
Ian Romanick
<ian.d.romanick@intel.com>
Fri, 5 Feb 2010 00:00:58 +0000
(16:00 -0800)
committer
Ian Romanick
<ian.d.romanick@intel.com>
Thu, 11 Feb 2010 23:40:29 +0000
(15:40 -0800)
src/glx/glxcmds.c
patch
|
blob
|
history
diff --git
a/src/glx/glxcmds.c
b/src/glx/glxcmds.c
index 504d17fe1735f54ded4e81f9e29b031af036cf9e..19538f2e5c09f493f94a41e07d0ce14307dee756 100644
(file)
--- a/
src/glx/glxcmds.c
+++ b/
src/glx/glxcmds.c
@@
-1636,7
+1636,6
@@
static int __glXQueryContextInfo(Display * dpy, GLXContext ctx)
else {
int *propList, *pProp;
int nPropListBytes;
- int i;
nPropListBytes = numValues << 3;
propList = (int *) Xmalloc(nPropListBytes);
@@
-1644,6
+1643,8
@@
static int __glXQueryContextInfo(Display * dpy, GLXContext ctx)
retval = 0;
}
else {
+ unsigned i;
+
_XRead(dpy, (char *) propList, nPropListBytes);
pProp = propList;
for (i = 0; i < numValues; i++) {