diff options
author | Michal Krol <[email protected]> | 2008-10-01 19:36:04 +0200 |
---|---|---|
committer | Zack Rusin <[email protected]> | 2008-10-02 10:19:48 -0400 |
commit | a77976d2ee578d0483c64f2aa41719bbae9c1c97 (patch) | |
tree | b4a4fb06466e8279f30e0ae34475d2e3f22bd782 /src/mesa/shader/slang/slang_link.c | |
parent | 8bdb4d2b2fdb12d0ba5249c289d349e35d893d00 (diff) |
mesa: Fix compiler warnings on Windows.
Diffstat (limited to 'src/mesa/shader/slang/slang_link.c')
-rw-r--r-- | src/mesa/shader/slang/slang_link.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/shader/slang/slang_link.c b/src/mesa/shader/slang/slang_link.c index d884be2a75d..00e89537685 100644 --- a/src/mesa/shader/slang/slang_link.c +++ b/src/mesa/shader/slang/slang_link.c @@ -408,7 +408,7 @@ _slang_update_inputs_outputs(struct gl_program *prog) } } else if (inst->SrcReg[j].File == PROGRAM_ADDRESS) { - maxAddrReg = MAX2(maxAddrReg, inst->SrcReg[j].Index + 1); + maxAddrReg = MAX2(maxAddrReg, (GLuint) (inst->SrcReg[j].Index + 1)); } } if (inst->DstReg.File == PROGRAM_OUTPUT) { |