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/i830 | |
parent | 6a82d44d9cb25b8ef1e1697adfcfe91a964c221f (diff) |
minor changes to silence warnings
Diffstat (limited to 'src/mesa/drivers/dri/i830')
-rw-r--r-- | src/mesa/drivers/dri/i830/i830_context.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/i830/i830_context.c b/src/mesa/drivers/dri/i830/i830_context.c index 7b68d6561f1..2860113ecaf 100644 --- a/src/mesa/drivers/dri/i830/i830_context.c +++ b/src/mesa/drivers/dri/i830/i830_context.c @@ -245,7 +245,7 @@ GLboolean i830CreateContext( const __GLcontextModes *mesaVis, 12, I830_NR_TEX_REGIONS, imesa->sarea->texList, - & imesa->sarea->texAge, + (unsigned) & imesa->sarea->texAge, /* XXX shouldn't need cast! */ & imesa->swapped, sizeof( struct i830_texture_object_t ), (destroy_texture_object_t *) i830DestroyTexObj ); @@ -415,7 +415,7 @@ void i830DestroyContext(__DRIcontextPrivate *driContextPriv) assert( is_empty_list( & imesa->swapped ) ); } - Xfree (imesa); + FREE(imesa); } } |