summaryrefslogtreecommitdiffstats
path: root/progs/redbook/select.c
diff options
context:
space:
mode:
Diffstat (limited to 'progs/redbook/select.c')
-rw-r--r--progs/redbook/select.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/progs/redbook/select.c b/progs/redbook/select.c
index 4f413e73ce9..928373b8796 100644
--- a/progs/redbook/select.c
+++ b/progs/redbook/select.c
@@ -124,8 +124,8 @@ void drawScene (void)
*/
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;