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 658b4ba013d2e0b562cb563476a82a0f37ba2201..5cdf72c4f56852861b974df8739dcf85e9747f1a 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: