[Mesa-dev] [PATCH 08/18] mesa: s/int/GLuint/ in get.c to silence MSVC warnings

Ian Romanick idr at freedesktop.org
Tue Nov 6 11:24:18 PST 2012


On 11/04/2012 03:43 PM, Brian Paul wrote:
> ---
>   src/mesa/main/get.c |    2 +-
>   1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/src/mesa/main/get.c b/src/mesa/main/get.c
> index c34d873..fccad67 100644
> --- a/src/mesa/main/get.c
> +++ b/src/mesa/main/get.c
> @@ -1480,7 +1480,7 @@ _mesa_GetDoublev(GLenum pname, GLdouble *params)
>   }
>
>   static enum value_type
> -find_value_indexed(const char *func, GLenum pname, int index, union value *v)
> +find_value_indexed(const char *func, GLenum pname, GLuint index, union value *v)

Maybe just unsigned instead?

>   {
>      GET_CURRENT_CONTEXT(ctx);
>
>



More information about the mesa-dev mailing list