From: Alan Hourihane Date: Mon, 19 Mar 2001 13:27:15 +0000 (+0000) Subject: fix cast X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=92eac1c76517b1df8183749a0d056ab0618c3f25;p=mesa.git fix cast --- diff --git a/progs/samples/sphere.c b/progs/samples/sphere.c index 3605df23801..cbe2cb1868b 100644 --- a/progs/samples/sphere.c +++ b/progs/samples/sphere.c @@ -692,7 +692,7 @@ void Init(void) float lmodel_twoside[] = {GL_TRUE}; int w, h; GLenum format; - char *image; + GLubyte *image; printf("GL_RENDERER = %s\n", (char *) glGetString(GL_RENDERER));