(GLint*) casts in glGetIntegerv calls
diff --git a/progs/demos/readpix.c b/progs/demos/readpix.c
index fc322f2..b36e3d1 100644
--- a/progs/demos/readpix.c
+++ b/progs/demos/readpix.c
@@ -238,8 +238,8 @@
#ifdef GL_OES_read_format
if ( glutExtensionSupported( "GL_OES_read_format" ) ) {
- glGetIntegerv( GL_IMPLEMENTATION_COLOR_READ_TYPE_OES, & ReadType );
- glGetIntegerv( GL_IMPLEMENTATION_COLOR_READ_FORMAT_OES, & ReadFormat );
+ glGetIntegerv(GL_IMPLEMENTATION_COLOR_READ_TYPE_OES, (GLint *) &ReadType);
+ glGetIntegerv(GL_IMPLEMENTATION_COLOR_READ_FORMAT_OES, (GLint *) &ReadFormat);
have_read_format = GL_TRUE;
}