We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 809

Summary: native_midi_loadsong should accept const char*
Product: SDL_mixer Reporter: Ozkan Sezer <sezeroz>
Component: miscAssignee: 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_loadsong const patch

Description Ozkan Sezer 2009-09-26 04:38:45 UTC
Created attachment 375 [details]
native_midi_loadsong const patch

the filename argument of native_midi_loadsong() should be const char*, the
attached patch does that and also removes the unnecessary char* cast in music.c
where native_midi_loadsong() is called.

Regards.

--
Ozkan
Comment 1 Sam Lantinga 2009-09-26 15:23:28 UTC
This is in subversion, thanks!