Skip to content
This repository has been archived by the owner on Jun 13, 2021. It is now read-only.

Remove cast for calloc #76

Merged
merged 1 commit into from Nov 26, 2015
Merged

Remove cast for calloc #76

merged 1 commit into from Nov 26, 2015

Conversation

ghost
Copy link

@ghost ghost commented Oct 16, 2015

In C (and hence Objective-C) it is unnecessary to cast the result of malloc/calloc.
Reference: http://stackoverflow.com/a/605858/3181273

@vicc vicc mentioned this pull request Nov 26, 2015
vicc pushed a commit that referenced this pull request Nov 26, 2015
@vicc vicc merged commit 45ee583 into vicc:master Nov 26, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant