Fix MSVC++ 2015 warnings about variable scope and some narrowing conversions without...
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 10 Sep 2016 19:36:13 +0000 (19:36 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 10 Sep 2016 19:36:13 +0000 (19:36 +0000)
commitad37bc7de1dce1d858f74df2d70dc214983fb934
treede1f952fd5af5cd35be99f474438382d2551e969
parentdbc0ab84895b26254dd41c9b17cb16c77337e9a1
Fix MSVC++ 2015 warnings about variable scope and some narrowing conversions without type casts.

Fix some missing type casts in recent r_shadow.c changes that didn't compile as C++ successfully.

Remove r_shadow_shadowmaplod variable which is unused.

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12279 d7cf8633-e32d-0410-b094-e92efae38249
41 files changed:
cd_null.c
cd_sdl.c
cd_win.c
cl_input.c
cl_parse.c
cl_particles.c
cl_screen.c
cl_video.c
clvm_cmds.c
collision.c
console.c
crypto.c
csprogs.c
dpsoftrast.c
fs.c
ft2.c
gl_backend.c
gl_rmain.c
glquake.h
lhnet.c
libcurl.c
mathlib.c
menu.c
mod_skeletal_animatevertices_generic.c
mod_skeletal_animatevertices_sse.c
model_alias.c
model_brush.c
model_shared.c
netconn.c
netconn.h
protocol.c
prvm_exec.c
prvm_execprogram.h
r_shadow.c
snd_main.c
snd_mix.c
sv_main.c
sv_user.c
svvm_cmds.c
vid_sdl.c
vid_shared.c