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

Missing include in unicode_support.c results in compiler warning #29

Open
ak-slongchamps opened this issue Oct 29, 2021 · 0 comments
Open

Comments

@ak-slongchamps
Copy link

Repro

Compile the library using MSVC 2019, see warning:

libopusenc\src\unicode_support.c(44,56): warning C4312: 'type cast': conversion from 'int' to 'wchar_t *' of greater size

Solution

The malloc function is used without including its definition. Including "stdlib.h" results in no warning.

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

No branches or pull requests

1 participant