summaryrefslogtreecommitdiffstats
path: root/progs/demos
diff options
context:
space:
mode:
Diffstat (limited to 'progs/demos')
-rw-r--r--progs/demos/fire.c2
-rw-r--r--progs/demos/ipers.c2
-rw-r--r--progs/demos/terrain.c2
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);
}