summaryrefslogtreecommitdiffstats
path: root/progs/redbook/picksquare.c
diff options
context:
space:
mode:
Diffstat (limited to 'progs/redbook/picksquare.c')
-rw-r--r--progs/redbook/picksquare.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/progs/redbook/picksquare.c b/progs/redbook/picksquare.c
index b68117c2787..636edc97b4b 100644
--- a/progs/redbook/picksquare.c
+++ b/progs/redbook/picksquare.c
@@ -87,8 +87,8 @@ void drawSquares(GLenum mode)
*/
void processHits (GLint hits, GLuint buffer[])
{
- unsigned int i, j;
- GLuint ii = 0, jj = 0, names, *ptr;
+ GLint i;
+ GLuint j, ii = 0, jj = 0, names, *ptr;
printf ("hits = %d\n", hits);
ptr = (GLuint *) buffer;