fix glitch from previous check-in (pointer vs int)
authorBrian Paul <brian.paul@tungstengraphics.com>
Mon, 19 Jan 2004 00:32:43 +0000 (00:32 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Mon, 19 Jan 2004 00:32:43 +0000 (00:32 +0000)
src/mesa/drivers/dri/i830/i830_context.c

index 2860113ecaf2afaa937b11c3d14842b0a5e2ded2..49ccb9f1d6aa76edbaade585b281dbf058a805bd 100644 (file)
@@ -245,7 +245,7 @@ GLboolean i830CreateContext( const __GLcontextModes *mesaVis,
            12,
            I830_NR_TEX_REGIONS,
            imesa->sarea->texList,
-           (unsigned) & imesa->sarea->texAge, /* XXX shouldn't need cast! */
+           (unsigned *) & imesa->sarea->texAge, /* XXX shouldn't need cast! */
            & imesa->swapped,
            sizeof( struct i830_texture_object_t ),
            (destroy_texture_object_t *) i830DestroyTexObj );