From: Vinson Lee Date: Fri, 11 Dec 2009 02:32:33 +0000 (-0800) Subject: mesa: Assign _mesa_lookup_parameter_index return value to GLint. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e31df54754e2305b7cc7072053bf5a4e0b477fd6;p=mesa.git mesa: Assign _mesa_lookup_parameter_index return value to GLint. --- diff --git a/src/mesa/shader/prog_parameter.c b/src/mesa/shader/prog_parameter.c index 2f029b02e50..f22492e029e 100644 --- a/src/mesa/shader/prog_parameter.c +++ b/src/mesa/shader/prog_parameter.c @@ -500,7 +500,7 @@ GLfloat * _mesa_lookup_parameter_value(const struct gl_program_parameter_list *paramList, GLsizei nameLen, const char *name) { - GLuint i = _mesa_lookup_parameter_index(paramList, nameLen, name); + GLint i = _mesa_lookup_parameter_index(paramList, nameLen, name); if (i < 0) return NULL; else