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

Brian Paul brianp at vmware.com
Tue Nov 6 11:52:55 PST 2012


On 11/06/2012 12:24 PM, Ian Romanick wrote:
> 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?

Already committed as it was.  I've been typing GLuint/GLint for so 
long it's practically automatic.  Feel free to change it if you care.

-Brian



More information about the mesa-dev mailing list