Add some casting to keep MSVC happy
This commit is contained in:
parent
402c69c0fd
commit
e4adb99e06
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user