Mesa (mesa_7_6_branch): mesa: Assign _mesa_lookup_parameter_index return value to GLint.

Vinson Lee vlee at kemper.freedesktop.org
Fri Dec 11 02:35:10 UTC 2009


Module: Mesa
Branch: mesa_7_6_branch
Commit: e31df54754e2305b7cc7072053bf5a4e0b477fd6
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e31df54754e2305b7cc7072053bf5a4e0b477fd6

Author: Vinson Lee <vlee at vmware.com>
Date:   Thu Dec 10 18:32:33 2009 -0800

mesa: Assign _mesa_lookup_parameter_index return value to GLint.

---

 src/mesa/shader/prog_parameter.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/mesa/shader/prog_parameter.c b/src/mesa/shader/prog_parameter.c
index 2f029b0..f22492e 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




More information about the mesa-commit mailing list