Skip to content

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

Merged
mayeut merged 1 commit intouclouvain:masterfrom
smuehlst:opj_malloc_casts
Oct 6, 2015
Merged

Added missing casts for return values of opj_malloc()/opj_calloc().#618
mayeut merged 1 commit intouclouvain:masterfrom
smuehlst:opj_malloc_casts

Conversation

@smuehlst
Copy link
Copy Markdown
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