summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/r128/r128_tex.c
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2004-03-04 14:56:34 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2004-03-04 14:56:34 +0000
commitf753320f0fd2be61c0fa99cffb1c3e5107109c4e (patch)
treebe9a4224e11d02c0682173a91ec53cd794bc649e /src/mesa/drivers/dri/r128/r128_tex.c
parentc26c1ddd5644c40992ec050e81027b9a763bc4e5 (diff)
casts to silence warnings
Diffstat (limited to 'src/mesa/drivers/dri/r128/r128_tex.c')
-rw-r--r--src/mesa/drivers/dri/r128/r128_tex.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/r128/r128_tex.c b/src/mesa/drivers/dri/r128/r128_tex.c
index 0974d62201..1fd12456e1 100644
--- a/src/mesa/drivers/dri/r128/r128_tex.c
+++ b/src/mesa/drivers/dri/r128/r128_tex.c
@@ -147,7 +147,7 @@ static r128TexObjPtr r128AllocTexObj( struct gl_texture_object *texObj )
r128TexObjPtr t;
if ( R128_DEBUG & DEBUG_VERBOSE_API ) {
- fprintf( stderr, "%s( %p )\n", __FUNCTION__, texObj );
+ fprintf( stderr, "%s( %p )\n", __FUNCTION__, (void *) texObj );
}
t = (r128TexObjPtr) CALLOC_STRUCT( r128_tex_obj );
@@ -557,7 +557,7 @@ static void r128BindTexture( GLcontext *ctx, GLenum target,
struct gl_texture_object *tObj )
{
if ( R128_DEBUG & DEBUG_VERBOSE_API ) {
- fprintf( stderr, "%s( %p ) unit=%d\n", __FUNCTION__, tObj,
+ fprintf( stderr, "%s( %p ) unit=%d\n", __FUNCTION__, (void *) tObj,
ctx->Texture.CurrentUnit );
}