From 804805d35a87c2acc9425d1762ad26b1ba2ec9ac Mon Sep 17 00:00:00 2001 From: Samuel Barney Date: Wed, 29 Jul 2015 09:04:03 -0600 Subject: Silenced and fixed many warning messages across multiple files. --- src/Color.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/Color.h') diff --git a/src/Color.h b/src/Color.h index a90e8372b..69e6a3f60 100644 --- a/src/Color.h +++ b/src/Color.h @@ -22,7 +22,7 @@ public: COLOR_LIMIT = 256, COLOR_NONE = 0xFFFFFFFF, }; - cColor() { m_Color = COLOR_NONE;} + cColor() { m_Color = static_cast(COLOR_NONE);} cColor(unsigned char a_Red, unsigned char a_Green, unsigned char a_Blue) { SetColor(a_Red, a_Green, a_Blue); } /// Returns whether the color is a valid color @@ -50,7 +50,7 @@ public: unsigned char GetBlue() const; /// Resets the color - void Clear() { m_Color = COLOR_NONE; } + void Clear() { m_Color = static_cast(COLOR_NONE); } // tolua_end unsigned int m_Color; -- cgit v1.2.3