summaryrefslogtreecommitdiffstats
path: root/progs/demos/terrain.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2002-08-08 17:12:38 +0000
committerBrian Paul <[email protected]>2002-08-08 17:12:38 +0000
commit1972ac661c7a1f06579ccc1dfd730703889049cc (patch)
tree676431d8ffdab2e6735d08feec055640d3cf24fd /progs/demos/terrain.c
parent3efe5beefc9f9665c565f1ec5e74287b12c117e9 (diff)
added (char *) casts
Diffstat (limited to 'progs/demos/terrain.c')
-rw-r--r--progs/demos/terrain.c2
1 files changed, 1 insertions, 1 deletions
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);
}