summaryrefslogtreecommitdiffstats
path: root/progs/demos/ipers.c
diff options
context:
space:
mode:
Diffstat (limited to 'progs/demos/ipers.c')
-rw-r--r--progs/demos/ipers.c2
1 files changed, 1 insertions, 1 deletions
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);
}