summaryrefslogtreecommitdiff
path: root/progs/redbook/pickdepth.c
diff options
context:
space:
mode:
Diffstat (limited to 'progs/redbook/pickdepth.c')
-rw-r--r--progs/redbook/pickdepth.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/progs/redbook/pickdepth.c b/progs/redbook/pickdepth.c
index 4b95d245ce..ad5bdc8199 100644
--- a/progs/redbook/pickdepth.c
+++ b/progs/redbook/pickdepth.c
@@ -103,8 +103,8 @@ drawRects(GLenum mode)
void
processHits(GLint hits, GLuint buffer[])
{
- unsigned int i, j;
- GLuint names, *ptr;
+ GLint i;
+ GLuint j, names, *ptr;
printf("hits = %d\n", hits);
ptr = (GLuint *) buffer;