From c549d497a62cf406c750f312c52d56221a2fdbc4 Mon Sep 17 00:00:00 2001 From: Ming Date: Fri, 3 Sep 2010 03:50:04 +0000 Subject: [PATCH] issue #116: remove the using of sprintf_s, because it is VC specific --- cocos2dx/textures/CCTextureCache.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cocos2dx/textures/CCTextureCache.cpp b/cocos2dx/textures/CCTextureCache.cpp index f1cc1d67aa..303b4c6437 100644 --- a/cocos2dx/textures/CCTextureCache.cpp +++ b/cocos2dx/textures/CCTextureCache.cpp @@ -98,7 +98,7 @@ void CCTextureCache::purgeSharedTextureCache() char * CCTextureCache::description() { char *ret = new char[100]; - sprintf_s(ret, 100, "", m_pTextures->count()); + sprintf(ret, "", m_pTextures->count()); return ret; }