use parentheses to avoid warning
authorDaniel Borca <dborca@users.sourceforge.net>
Mon, 15 Nov 2004 08:03:22 +0000 (08:03 +0000)
committerDaniel Borca <dborca@users.sourceforge.net>
Mon, 15 Nov 2004 08:03:22 +0000 (08:03 +0000)
src/mesa/main/attrib.c

index 658b4ba..5cdf72c 100644 (file)
@@ -1079,7 +1079,7 @@ _mesa_PopAttrib(void)
                                   stencil->ZFailFunc[face],
                                   stencil->ZPassFunc[face]);
                   face ^= 1;
-               } while (face != stencil->ActiveFace ^ 1);
+               } while (face != (stencil->ActiveFace ^ 1));
             }
             break;
          case GL_TRANSFORM_BIT: