From 92eac1c76517b1df8183749a0d056ab0618c3f25 Mon Sep 17 00:00:00 2001 From: Alan Hourihane Date: Mon, 19 Mar 2001 13:27:15 +0000 Subject: [PATCH] fix cast --- progs/samples/sphere.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); -- 2.30.2