Skip to content

Conversation

@Webfra
Copy link
Contributor

@Webfra Webfra commented Mar 19, 2023

Function qoaplay_open(char * path) doesn't change the path it is given.
Therefore, it should be safe to add the const qualifier.
Avoids a compiler warning in rauido.c.

Tested on Win10+mingw-gcc 12.2 and Ubuntu-20.04 (on WSL2).

@raysan5 raysan5 merged commit 08670ec into raysan5:master Mar 19, 2023
@raysan5
Copy link
Owner

raysan5 commented Mar 19, 2023

@Webfra Thanks for the improvement!

@Webfra Webfra deleted the fix_qoaplay_open_warning branch March 19, 2023 20:44
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