commit | 1972ac661c7a1f06579ccc1dfd730703889049cc | [log] [tgz] |
---|---|---|
author | Brian Paul <brian.paul@tungstengraphics.com> | Thu Aug 08 17:12:38 2002 +0000 |
committer | Brian Paul <brian.paul@tungstengraphics.com> | Thu Aug 08 17:12:38 2002 +0000 |
tree | 676431d8ffdab2e6735d08feec055640d3cf24fd | |
parent | 3efe5beefc9f9665c565f1ec5e74287b12c117e9 [diff] [blame] |
added (char *) casts
diff --git a/progs/demos/terrain.c b/progs/demos/terrain.c index da5b90d..9063c93 100644 --- a/progs/demos/terrain.c +++ b/progs/demos/terrain.c
@@ -572,7 +572,7 @@ 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); }