Skip to content
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

Added missing casts for return values of opj_malloc()/opj_calloc(). #618

Merged
merged 1 commit into from
Oct 6, 2015

Conversation

smuehlst
Copy link
Contributor

@smuehlst smuehlst commented Oct 6, 2015

I'm compiling the OpenJPEG source also with the .NET C++ compiler. In a few places the casts for the return values of opj_malloc()/opj_calloc() are missing, which prevents successful compilation in C++ mode. As the casts for the return values of opj_malloc()/opj_calloc() are present otherwise in the rest of the OpenJPEG source code, I guess the missing casts were left out by accident.

mayeut added a commit that referenced this pull request Oct 6, 2015
Added missing casts for return values of opj_malloc()/opj_calloc().
@mayeut mayeut merged commit f8c8222 into uclouvain:master Oct 6, 2015
@smuehlst smuehlst deleted the opj_malloc_casts branch May 9, 2019 11:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants