mirror of https://github.com/axmolengine/axmol.git
fixed a warning in CCProfiling.cpp
This commit is contained in:
parent
031a750f95
commit
bdd0b44b99
|
@ -95,7 +95,7 @@ namespace cocos2d
|
|||
bool CCProfilingTimer::initWithName(const char* pszTimerName, CCObject *pInstance)
|
||||
{
|
||||
char tmp[160];
|
||||
sprintf(tmp, "%s (0x%.8x)", pszTimerName, pInstance);
|
||||
sprintf(tmp, "%s (0x%.8x)", pszTimerName, (unsigned int)pInstance);
|
||||
m_NameStr = string(tmp);
|
||||
m_dAverageTime = 0.0;
|
||||
|
||||
|
|
Loading…
Reference in New Issue