13
0

Add some casting to keep MSVC happy

This commit is contained in:
John Emmas 2015-09-24 09:06:19 +01:00
parent 402c69c0fd
commit e4adb99e06

View File

@ -136,7 +136,7 @@ smf_track_delete(smf_track_t *track)
/* Remove all the events */
unsigned int i;
for (i = 0; i < track->events_array->len; ++i) {
smf_event_t* ev = g_ptr_array_index(track->events_array, i);
smf_event_t* ev = (smf_event_t*)g_ptr_array_index(track->events_array, i);
free (ev->midi_buffer);
free (ev);
}