mirror of
https://github.com/NoelFB/blah.git
synced 2025-12-14 13:17:07 +08:00
various small C++ warning fixes
This commit is contained in:
@ -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);
|
||||
|
||||
Reference in New Issue
Block a user