summaryrefslogtreecommitdiffstats
path: root/src/mesa/shader/arbprogparse.c
diff options
context:
space:
mode:
authorMichal Krol <[email protected]>2008-10-01 19:36:04 +0200
committerZack Rusin <[email protected]>2008-10-02 10:19:48 -0400
commita77976d2ee578d0483c64f2aa41719bbae9c1c97 (patch)
treeb4a4fb06466e8279f30e0ae34475d2e3f22bd782 /src/mesa/shader/arbprogparse.c
parent8bdb4d2b2fdb12d0ba5249c289d349e35d893d00 (diff)
mesa: Fix compiler warnings on Windows.
Diffstat (limited to 'src/mesa/shader/arbprogparse.c')
-rw-r--r--src/mesa/shader/arbprogparse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/shader/arbprogparse.c b/src/mesa/shader/arbprogparse.c
index 983f61a653b..448251b223d 100644
--- a/src/mesa/shader/arbprogparse.c
+++ b/src/mesa/shader/arbprogparse.c
@@ -2603,7 +2603,7 @@ parse_src_reg (GLcontext * ctx, const GLubyte ** inst,
/* If we're referencing the Program->Parameters[] array, check if the
* parameter is really a constant/literal. If so, set File to CONSTANT.
*/
- assert(*Index < Program->Base.Parameters->NumParameters);
+ assert(*Index < (GLint) Program->Base.Parameters->NumParameters);
file = Program->Base.Parameters->Parameters[*Index].Type;
if (file == PROGRAM_CONSTANT)
*File = PROGRAM_CONSTANT;