From 1972ac661c7a1f06579ccc1dfd730703889049cc Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Thu, 8 Aug 2002 17:12:38 +0000 Subject: added (char *) casts --- progs/demos/fire.c | 2 +- progs/demos/ipers.c | 2 +- progs/demos/terrain.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/progs/demos/fire.c b/progs/demos/fire.c index a648a9d0db9..5c467acfaca 100644 --- a/progs/demos/fire.c +++ b/progs/demos/fire.c @@ -660,7 +660,7 @@ inittextures(void) if ((gluerr = gluBuild2DMipmaps(GL_TEXTURE_2D, 4, 128, 128, GL_RGBA, GL_UNSIGNED_BYTE, (GLvoid *) (tex)))) { - fprintf(stderr, "GLULib%s\n", gluErrorString(gluerr)); + fprintf(stderr, "GLULib%s\n", (char *) gluErrorString(gluerr)); exit(-1); } } diff --git a/progs/demos/ipers.c b/progs/demos/ipers.c index 87d70ef8bc6..8168034ffd9 100644 --- a/progs/demos/ipers.c +++ b/progs/demos/ipers.c @@ -186,7 +186,7 @@ inittextures(void) (gluerr = gluBuild2DMipmaps(GL_TEXTURE_2D, 3, TEX_SKY_WIDTH, TEX_SKY_HEIGHT, GL_RGB, GL_UNSIGNED_BYTE, (GLvoid *) (tsky)))) { - fprintf(stderr, "GLULib%s\n", gluErrorString(gluerr)); + fprintf(stderr, "GLULib%s\n", (char *) gluErrorString(gluerr)); exit(-1); } diff --git a/progs/demos/terrain.c b/progs/demos/terrain.c index da5b90d300c..9063c939d5e 100644 --- a/progs/demos/terrain.c +++ b/progs/demos/terrain.c @@ -572,7 +572,7 @@ loadpic(void) if ((gluerr = gluBuild2DMipmaps(GL_TEXTURE_2D, 1, 256, 256, GL_LUMINANCE, GL_UNSIGNED_BYTE, (GLvoid *) (&terrainpic[0])))) { - fprintf(stderr, "GLULib%s\n", gluErrorString(gluerr)); + fprintf(stderr, "GLULib%s\n", (char *) gluErrorString(gluerr)); exit(-1); } -- cgit v1.2.3