From 1f668eb78340578987c61e8d354e9f5246976991 Mon Sep 17 00:00:00 2001 From: rh101 Date: Thu, 2 Sep 2021 17:05:33 +1000 Subject: [PATCH] Fix typo --- tests/cpp-tests/Classes/Sprite3DTest/Sprite3DTest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/cpp-tests/Classes/Sprite3DTest/Sprite3DTest.cpp b/tests/cpp-tests/Classes/Sprite3DTest/Sprite3DTest.cpp index b3016e6b76..12748d2f6d 100644 --- a/tests/cpp-tests/Classes/Sprite3DTest/Sprite3DTest.cpp +++ b/tests/cpp-tests/Classes/Sprite3DTest/Sprite3DTest.cpp @@ -893,7 +893,7 @@ void AsyncLoadSprite3DTest::menuCallback_asyncLoadSprite(Ref* sender) void AsyncLoadSprite3DTest::asyncLoad_Callback(Sprite3D* sprite, void* param) { - auto index = static_cast((uintptr_t)param)); + auto index = static_cast((uintptr_t)param); auto node = getChildByTag(101); auto s = Director::getInstance()->getWinSize(); float width = s.width / _paths.size();