fix a warning

This commit is contained in:
Walzer 2010-10-12 04:07:49 +00:00
parent 873def4dec
commit 2a43160d39
1 changed files with 1 additions and 1 deletions

View File

@ -126,7 +126,7 @@ bool CCDirector::init(void)
m_bDisplayFPS = false;
m_nFrames = 0;
m_pszFPS = new char[10];
m_fExpectedFrameRate = 1 / m_dAnimationInterval;
m_fExpectedFrameRate = (ccTime)(1 / m_dAnimationInterval);