- Fixed: R_GetOneSkyColumn() and R_GetTwoSkyColumns are mulscaling an
unsigned integer that can use all 32 bits. They must therefore use the unsigned mul instruction rather than the signed imul instruction. - Fixed several signed/unsigned comparison and possibly uninitialized variable warnings flagged by GCC. SVN r1965 (trunk)
This commit is contained in:
parent
d8acbf71fa
commit
de8ec46c06
15 changed files with 215 additions and 187 deletions
|
|
@ -469,7 +469,7 @@ void InitPalette ()
|
|||
// build default special maps (e.g. invulnerability)
|
||||
SpecialColormaps.Clear();
|
||||
|
||||
for (int i = 0; i < countof(SpecialColormapParms); ++i)
|
||||
for (unsigned i = 0; i < countof(SpecialColormapParms); ++i)
|
||||
{
|
||||
AddSpecialColormap(SpecialColormapParms[i].Start[0], SpecialColormapParms[i].Start[1],
|
||||
SpecialColormapParms[i].Start[2], SpecialColormapParms[i].End[0],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue