various small C++ warning fixes

This commit is contained in:
Noel Berry
2021-05-06 21:48:06 -07:00
parent fb91b77900
commit 04f6257b75
20 changed files with 87 additions and 89 deletions

View File

@ -178,7 +178,7 @@ Color Color::operator*(float multiply) const
(int)(a * multiply));
}
Color& Color::operator=(const int rgb)
Color& Color::operator=(int rgb)
{
r = (u8)((rgb & 0xFF0000) >> 16);
g = (u8)((rgb & 0x00FF00) >> 8);