mesa: Fix compiler warnings
authorKarl Schultz <karl.w.schultz@gmail.com>
Sun, 14 Feb 2010 00:31:58 +0000 (17:31 -0700)
committerKarl Schultz <karl.w.schultz@gmail.com>
Sun, 14 Feb 2010 00:34:04 +0000 (17:34 -0700)
commitb30898f4ab533085d97a33638ad0a1cf9ddb1d67
tree7c27558e2905da625b75060628967d3d52fe6728
parent5fd2b46a20321d8600d6256bff17ec3ebc9cb510
mesa: Fix compiler warnings

Add explicit casts, fix constant types, fix variable types.
Fixes about 340 warnings in MSFT Visual Studio.
16 files changed:
src/mesa/main/clear.c
src/mesa/main/image.c
src/mesa/main/macros.h
src/mesa/main/texgetimage.c
src/mesa/shader/nvprogram.c
src/mesa/shader/prog_execute.c
src/mesa/shader/prog_parameter.c
src/mesa/shader/slang/slang_codegen.c
src/mesa/shader/slang/slang_compile.c
src/mesa/swrast/s_aatritemp.h
src/mesa/swrast/s_atifragshader.c
src/mesa/swrast/s_clear.c
src/mesa/swrast/s_texcombine.c
src/mesa/swrast_setup/ss_context.c
src/mesa/swrast_setup/ss_tritmp.h
src/mesa/tnl/t_draw.c