summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/glide
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2001-11-06 16:01:19 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2001-11-06 16:01:19 +0000
commit4b7ccad6829d11c07f1ceac3b3d12f8aec9e640b (patch)
tree4780ddc5695d7a8d1650c770a3c111b5bc9d8684 /src/mesa/drivers/glide
parent87c964d3885d84959f86d5d7d9c4358240b6da3c (diff)
casts to silence warnings from gcc 2.96
Diffstat (limited to 'src/mesa/drivers/glide')
-rw-r--r--src/mesa/drivers/glide/fxddtex.c4
-rw-r--r--src/mesa/drivers/glide/fxtris.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/mesa/drivers/glide/fxddtex.c b/src/mesa/drivers/glide/fxddtex.c
index 9b31cc87ec..fafdb7c4d6 100644
--- a/src/mesa/drivers/glide/fxddtex.c
+++ b/src/mesa/drivers/glide/fxddtex.c
@@ -1,4 +1,4 @@
-/* $Id: fxddtex.c,v 1.45 2001/09/23 16:50:01 brianp Exp $ */
+/* $Id: fxddtex.c,v 1.46 2001/11/06 16:01:19 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -327,7 +327,7 @@ fxDDTexDel(GLcontext * ctx, struct gl_texture_object *tObj)
tfxTexInfo *ti = fxTMGetTexInfo(tObj);
if (MESA_VERBOSE & VERBOSE_DRIVER) {
- fprintf(stderr, "fxmesa: fxDDTexDel(%d,%p)\n", tObj->Name, ti);
+ fprintf(stderr, "fxmesa: fxDDTexDel(%d,%p)\n", tObj->Name, (void *) ti);
}
if (!ti)
diff --git a/src/mesa/drivers/glide/fxtris.c b/src/mesa/drivers/glide/fxtris.c
index ef504cccea..498a585ff1 100644
--- a/src/mesa/drivers/glide/fxtris.c
+++ b/src/mesa/drivers/glide/fxtris.c
@@ -1,4 +1,4 @@
-/* $Id: fxtris.c,v 1.17 2001/09/23 16:50:01 brianp Exp $ */
+/* $Id: fxtris.c,v 1.18 2001/11/06 16:01:19 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -214,7 +214,7 @@ fx_fallback_point( fxMesaContext fxMesa,
static void fx_print_vertex( GLcontext *ctx, const GrVertex *v )
{
- fprintf(stderr, "vertex at %p\n", v);
+ fprintf(stderr, "vertex at %p\n", (void *) v);
fprintf(stderr, "x %f y %f z %f oow %f\n",
v->x, v->y, v->ooz, v->oow);