aboutsummaryrefslogtreecommitdiffstats
path: root/progs/demos/gltestperf.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2003-04-21 14:50:12 +0000
committerBrian Paul <[email protected]>2003-04-21 14:50:12 +0000
commit95210bc8064113e9810c8ea46e2afbb7d5f80fcb (patch)
tree82a27cd2f07dd6e68e7c24713c4a946a59f14504 /progs/demos/gltestperf.c
parente5db876329126ff799999223fcd0813c3e5ed95c (diff)
fix minor warnings
Diffstat (limited to 'progs/demos/gltestperf.c')
-rw-r--r--progs/demos/gltestperf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/progs/demos/gltestperf.c b/progs/demos/gltestperf.c
index 2df168ba54d..be953901014 100644
--- a/progs/demos/gltestperf.c
+++ b/progs/demos/gltestperf.c
@@ -164,7 +164,7 @@ init_test04(void)
glPixelStorei(GL_UNPACK_ALIGNMENT, 1);
if ((gluerr = gluBuild2DMipmaps(GL_TEXTURE_2D, 3, 128, 128, GL_RGB,
GL_UNSIGNED_BYTE, (GLvoid *) (&tex[0])))) {
- fprintf(stderr, "GLULib%s\n", gluErrorString(gluerr));
+ fprintf(stderr, "GLULib%s\n", (char *) gluErrorString(gluerr));
exit(-1);
}
@@ -239,7 +239,7 @@ init_test05(void)
glPixelStorei(GL_UNPACK_ALIGNMENT, 1);
if ((gluerr = gluBuild2DMipmaps(GL_TEXTURE_2D, 3, 128, 128, GL_RGB,
GL_UNSIGNED_BYTE, (GLvoid *) (&tex[0])))) {
- fprintf(stderr, "GLULib%s\n", gluErrorString(gluerr));
+ fprintf(stderr, "GLULib%s\n", (char *) gluErrorString(gluerr));
exit(-1);
}