summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i810/i810context.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2004-01-18 17:22:50 +0000
committerBrian Paul <[email protected]>2004-01-18 17:22:50 +0000
commit77d240858e83cdaae799ef95188f59b7f2eda464 (patch)
treea2432212101d83809d690c6ac830343c7f3bb58f /src/mesa/drivers/dri/i810/i810context.c
parent6a82d44d9cb25b8ef1e1697adfcfe91a964c221f (diff)
minor changes to silence warnings
Diffstat (limited to 'src/mesa/drivers/dri/i810/i810context.c')
-rw-r--r--src/mesa/drivers/dri/i810/i810context.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/i810/i810context.c b/src/mesa/drivers/dri/i810/i810context.c
index 9ca262b4b28..d81431765fa 100644
--- a/src/mesa/drivers/dri/i810/i810context.c
+++ b/src/mesa/drivers/dri/i810/i810context.c
@@ -185,7 +185,7 @@ i810CreateContext( const __GLcontextModes *mesaVis,
12,
I810_NR_TEX_REGIONS,
imesa->sarea->texList,
- & imesa->sarea->texAge,
+ (unsigned *) & imesa->sarea->texAge, /* XXX we shouldn't cast! */
& imesa->swapped,
sizeof( struct i810_texture_object_t ),
(destroy_texture_object_t *) i810DestroyTexObj );
@@ -327,7 +327,7 @@ i810DestroyContext(__DRIcontextPrivate *driContextPriv)
assert( is_empty_list( & imesa->swapped ) );
}
- Xfree(imesa);
+ FREE(imesa);
}
}