From 6c3878fc4519d9fb5c97b271f0ba02b4eea794aa Mon Sep 17 00:00:00 2001 From: James Chen Date: Thu, 25 Jul 2013 13:45:41 +0800 Subject: [PATCH] issue #2404: Fixing a warning in ccTypes.h. --- cocos2dx/include/ccTypes.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cocos2dx/include/ccTypes.h b/cocos2dx/include/ccTypes.h index 29b7a3b25d..ed55455ac9 100644 --- a/cocos2dx/include/ccTypes.h +++ b/cocos2dx/include/ccTypes.h @@ -83,7 +83,7 @@ struct Color4B a(_a) {} - Color4B(): r(0.f), g(0.f), b(0.f), a(0.f) {} + Color4B(): r(0), g(0), b(0), a(0) {} // This function should use Color4F, so implement it in .cpp file. explicit Color4B(const Color4F &color4F);