From fde5e2c5f182759aff78bdd12e6c928f3f13bbdc Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Sat, 15 Sep 2001 18:02:49 +0000 Subject: more warning fixes (Karl Schultz) --- src/mesa/main/colortab.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/mesa/main/colortab.c') diff --git a/src/mesa/main/colortab.c b/src/mesa/main/colortab.c index bb457382705..d9b796c1e74 100644 --- a/src/mesa/main/colortab.c +++ b/src/mesa/main/colortab.c @@ -1,4 +1,4 @@ -/* $Id: colortab.c,v 1.41 2001/07/14 17:53:04 brianp Exp $ */ +/* $Id: colortab.c,v 1.42 2001/09/15 18:02:49 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -1009,10 +1009,10 @@ _mesa_GetColorTableParameterfv( GLenum target, GLenum pname, GLfloat *params ) switch (pname) { case GL_COLOR_TABLE_FORMAT: - *params = table->IntFormat; + *params = (GLfloat) table->IntFormat; break; case GL_COLOR_TABLE_WIDTH: - *params = table->Size; + *params = (GLfloat) table->Size; break; case GL_COLOR_TABLE_RED_SIZE: *params = table->RedSize; -- cgit v1.2.3