Use %ld instead of %zd

This commit is contained in:
pandamicro 2016-12-13 18:12:50 +08:00
parent bc4b0c0f1b
commit a73485a1bc
1 changed files with 1 additions and 1 deletions

View File

@ -1328,7 +1328,7 @@ bool js_CCNode_unschedule(JSContext *cx, uint32_t argc, jsval *vp)
auto targetArray = JSScheduleWrapper::getTargetForSchedule(args.get(0)); auto targetArray = JSScheduleWrapper::getTargetForSchedule(args.get(0));
if (targetArray) { if (targetArray) {
CCLOGINFO("unschedule target number: %zd", targetArray->count()); CCLOGINFO("unschedule target number: %ld", static_cast<long>(targetArray->count()));
for (const auto& tmp : *targetArray) for (const auto& tmp : *targetArray)
{ {