diff options
author | Brian Paul <[email protected]> | 2004-01-18 17:22:50 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2004-01-18 17:22:50 +0000 |
commit | 77d240858e83cdaae799ef95188f59b7f2eda464 (patch) | |
tree | a2432212101d83809d690c6ac830343c7f3bb58f /src/mesa/drivers/dri/i810/i810context.c | |
parent | 6a82d44d9cb25b8ef1e1697adfcfe91a964c221f (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.c | 4 |
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); } } |