| Summary: | native_midi_error should return const char* | ||
|---|---|---|---|
| Product: | SDL_mixer | Reporter: | Ozkan Sezer <sezeroz> |
| Component: | misc | Assignee: | Ryan C. Gordon <icculus> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | ||
| Version: | unspecified | ||
| Hardware: | x86 | ||
| OS: | Linux | ||
| Attachments: | native_midi_error const patch | ||
Thanks for your patch! Do you give me permission to release your code with SDL 1.3 and future versions of SDL under both the LGPL and a closed-source commercial license? Yes, of course. -- Ozkan Thanks! |
Created attachment 374 [details] native_midi_error const patch native_midi_error() returns strings at many places but is declared to return char* instead of coünst char*. The attached patch makes native_midi_error() to return const char*. Regards. -- Ozkan