From fead37eab300ae4f494a75f59c678c634caddabd Mon Sep 17 00:00:00 2001 From: James Chen Date: Mon, 6 May 2013 10:55:39 +0800 Subject: [PATCH] fixed #2105: Adding Travis build support for linux and NaCl. --- cocos2dx/CCDirector.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cocos2dx/CCDirector.cpp b/cocos2dx/CCDirector.cpp index 376d01f084..0de8bf622f 100644 --- a/cocos2dx/CCDirector.cpp +++ b/cocos2dx/CCDirector.cpp @@ -585,7 +585,7 @@ void CCDirector::popToRootScene(void) void CCDirector::popToSceneStackLevel(int level) { CCAssert(m_pRunningScene != NULL, "A running Scene is needed"); - unsigned int c = m_pobScenesStack->count(); + int c = (int)m_pobScenesStack->count(); // level 0? -> end if (level == 0)