Index: radeon/radeon_state.c
===================================================================
RCS file: /cvsroot/dri/xc/xc/lib/GL/mesa/src/drv/radeon/radeon_state.c,v
retrieving revision 1.18
diff -u -r1.18 radeon_state.c
--- radeon/radeon_state.c	25 Aug 2002 22:24:39 -0000	1.18
+++ radeon/radeon_state.c	21 Oct 2002 22:07:46 -0000
@@ -1414,8 +1414,8 @@
    GLfloat tx = v[MAT_TX] + xoffset;
    GLfloat ty = (- v[MAT_TY]) + yoffset;
 
-   if ( rmesa->hw.vpt.cmd[VPT_SE_VPORT_XOFFSET] != tx ||
-	rmesa->hw.vpt.cmd[VPT_SE_VPORT_YOFFSET] != ty )
+   if ( rmesa->hw.vpt.cmd[VPT_SE_VPORT_XOFFSET] != *(GLuint *)&tx ||
+	rmesa->hw.vpt.cmd[VPT_SE_VPORT_YOFFSET] != *(GLuint *)&ty )
    {
       /* Note: this should also modify whatever data the context reset
        * code uses...
Index: r200/r200_state.c
===================================================================
RCS file: /cvsroot/dri/xc/xc/lib/GL/mesa/src/drv/r200/r200_state.c,v
retrieving revision 1.4
diff -u -r1.4 r200_state.c
--- r200/r200_state.c	9 Oct 2002 13:26:37 -0000	1.4
+++ r200/r200_state.c	21 Oct 2002 22:07:48 -0000
@@ -1439,8 +1439,8 @@
    GLfloat tx = v[MAT_TX] + xoffset;
    GLfloat ty = (- v[MAT_TY]) + yoffset;
 
-   if ( rmesa->hw.vpt.cmd[VPT_SE_VPORT_XOFFSET] != tx ||
-	rmesa->hw.vpt.cmd[VPT_SE_VPORT_YOFFSET] != ty )
+   if ( rmesa->hw.vpt.cmd[VPT_SE_VPORT_XOFFSET] != *(GLuint *)&tx ||
+	rmesa->hw.vpt.cmd[VPT_SE_VPORT_YOFFSET] != *(GLuint *)&ty )
    {
       /* Note: this should also modify whatever data the context reset
        * code uses...
