summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/x11
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2001-11-06 16:01:19 +0000
committerBrian Paul <[email protected]>2001-11-06 16:01:19 +0000
commit4b7ccad6829d11c07f1ceac3b3d12f8aec9e640b (patch)
tree4780ddc5695d7a8d1650c770a3c111b5bc9d8684 /src/mesa/drivers/x11
parent87c964d3885d84959f86d5d7d9c4358240b6da3c (diff)
casts to silence warnings from gcc 2.96
Diffstat (limited to 'src/mesa/drivers/x11')
-rw-r--r--src/mesa/drivers/x11/xm_api.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/x11/xm_api.c b/src/mesa/drivers/x11/xm_api.c
index 0e75b2f5bfe..8e3f978df83 100644
--- a/src/mesa/drivers/x11/xm_api.c
+++ b/src/mesa/drivers/x11/xm_api.c
@@ -1,4 +1,4 @@
-/* $Id: xm_api.c,v 1.29 2001/09/12 03:32:29 brianp Exp $ */
+/* $Id: xm_api.c,v 1.30 2001/11/06 16:01:19 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -1260,7 +1260,7 @@ static GLboolean initialize_visual_and_buffer( int client,
* reports bugs.
*/
if (getenv("MESA_INFO")) {
- fprintf(stderr, "X/Mesa visual = %p\n", v);
+ fprintf(stderr, "X/Mesa visual = %p\n", (void *) v);
fprintf(stderr, "X/Mesa dithered pf = %u\n", v->dithered_pf);
fprintf(stderr, "X/Mesa undithered pf = %u\n", v->undithered_pf);
fprintf(stderr, "X/Mesa level = %d\n", v->level);