diff options
author | Brian Paul <[email protected]> | 2008-11-05 16:04:40 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2008-11-05 16:04:40 -0700 |
commit | 1bfdab781b515f8eefc0b3c963295a1adb8f8146 (patch) | |
tree | 2c476a35bb357aab30b4476028c5ecc1e46aaf7e /src/mesa | |
parent | 50beb4e6fd2e06d6007c69899111f6a22319a4d8 (diff) |
mesa: Fix compiler warnings on Windows.
cherry-picked subset of a77976d2ee578d0483c64f2aa41719bbae9c1c97
Diffstat (limited to 'src/mesa')
-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 1398a5ec6c7..5c8b626ea7d 100644 --- a/src/mesa/shader/slang/slang_link.c +++ b/src/mesa/shader/slang/slang_link.c @@ -409,7 +409,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) { |