From a760ccf6d8a1f94d505b4c211ff4c30bc1d325a8 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Fri, 3 Dec 2004 15:24:34 +0000 Subject: silence a variety of warnings found with g++ 3.4.2 --- src/mesa/glapi/glprocs.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/mesa/glapi/glprocs.h') diff --git a/src/mesa/glapi/glprocs.h b/src/mesa/glapi/glprocs.h index 02cf81abcd..9e510d2695 100644 --- a/src/mesa/glapi/glprocs.h +++ b/src/mesa/glapi/glprocs.h @@ -31,11 +31,11 @@ */ typedef struct { - int Name_offset; + GLint Name_offset; #ifdef NEED_FUNCTION_POINTER _glapi_proc Address; #endif - unsigned int Offset; + GLuint Offset; } glprocs_table_t; #ifdef NEED_FUNCTION_POINTER @@ -1969,7 +1969,7 @@ static const glprocs_table_t static_functions[] = { NAME_FUNC_OFFSET( 17136, glBlendFuncSeparateINGR, _gloffset_BlendFuncSeparateEXT ), NAME_FUNC_OFFSET( 17160, glPointParameterfSGIS, _gloffset_PointParameterfEXT ), NAME_FUNC_OFFSET( 17182, glPointParameterfvSGIS, _gloffset_PointParameterfvEXT ), - NAME_FUNC_OFFSET( -1, NULL, -1 ) + NAME_FUNC_OFFSET( -1, NULL, 0 ) }; #undef NAME_FUNC_OFFSET -- cgit v1.2.3