mirror of https://github.com/axmolengine/axmol.git
issue #116: remove the using of sprintf_s, because it is VC specific
This commit is contained in:
parent
37ea7dd914
commit
c549d497a6
|
@ -98,7 +98,7 @@ void CCTextureCache::purgeSharedTextureCache()
|
|||
char * CCTextureCache::description()
|
||||
{
|
||||
char *ret = new char[100];
|
||||
sprintf_s(ret, 100, "<CCTextureCache | Number of textures = %u>", m_pTextures->count());
|
||||
sprintf(ret, "<CCTextureCache | Number of textures = %u>", m_pTextures->count());
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue