diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2002-08-08 17:12:38 +0000 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2002-08-08 17:12:38 +0000 |
commit | 1972ac661c7a1f06579ccc1dfd730703889049cc (patch) | |
tree | 676431d8ffdab2e6735d08feec055640d3cf24fd /progs/demos | |
parent | 3efe5beefc9f9665c565f1ec5e74287b12c117e9 (diff) |
added (char *) casts
Diffstat (limited to 'progs/demos')
-rw-r--r-- | progs/demos/fire.c | 2 | ||||
-rw-r--r-- | progs/demos/ipers.c | 2 | ||||
-rw-r--r-- | 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 a648a9d0db..5c467acfac 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 87d70ef8bc..8168034ffd 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 da5b90d300..9063c939d5 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); } |