casts to silence warnings from gcc 2.96
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* $Id: s_lines.c,v 1.21 2001/08/20 21:45:15 brianp Exp $ */
|
||||
/* $Id: s_lines.c,v 1.22 2001/11/06 16:01:19 brianp Exp $ */
|
||||
|
||||
/*
|
||||
* Mesa 3-D graphics library
|
||||
@@ -995,7 +995,7 @@ _mesa_print_line_function(GLcontext *ctx)
|
||||
else if (swrast->Line == flat_multitextured_line)
|
||||
printf("flat_multitextured_line\n");
|
||||
else
|
||||
printf("Driver func %p\n", swrast->Line);
|
||||
printf("Driver func %p\n", (void *) swrast->Line);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user