st/xorg: Add libkms integration
[mesa.git] / progs / redbook / picksquare.c
index b68117c27875af13cb3f82598e2249a8a3fbb25d..636edc97b4bf181af212b5335aee91b56f526770 100644 (file)
@@ -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;