mirror of https://github.com/axmolengine/axmol.git
Use %ld instead of %zd
This commit is contained in:
parent
bc4b0c0f1b
commit
a73485a1bc
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue