New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Change long to size_t or int #4429
Conversation
@@ -142,7 +142,7 @@ DrawNode* DrawNode::create() | |||
return pRet; | |||
} | |||
|
|||
void DrawNode::ensureCapacity(long count) | |||
void DrawNode::ensureCapacity(int count) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
since this is capacity size_t
is valid.
But int
is OK too in this context I guess.
One more thing: I've just realized that
So, this will also fix the issue regarding |
I think i have to close this pull request, since @dumganhar is implementing container in #4420. After merging #4420, |
ok. |
Will cocos2dx replace Array with Vector? |
Yep, we suggest to use cocos2d::Vector in 3.0. |
New pull request for this issue is #4438. |
closed #4429: Boolean value could not be written to specified plist file
closed cocos2d#4429: Boolean value could not be written to specified plist file
closed cocos2d#4429: Boolean value could not be written to specified plist file
closed cocos2d#4429: Boolean value could not be written to specified plist file
closed cocos2d#4429: Boolean value could not be written to specified plist file
size_t
inccCArray
size_t
for data length, such as used inImage
andTexture2D
long
toint
in some places