projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
402c69c
)
Add some casting to keep MSVC happy
author
John Emmas
<johne53@tiscali.co.uk>
Thu, 24 Sep 2015 08:06:19 +0000
(09:06 +0100)
committer
John Emmas
<johne53@tiscali.co.uk>
Thu, 24 Sep 2015 08:06:19 +0000
(09:06 +0100)
libs/evoral/src/libsmf/smf.c
patch
|
blob
|
history
diff --git
a/libs/evoral/src/libsmf/smf.c
b/libs/evoral/src/libsmf/smf.c
index 7b623210e97f3915efb0a6b515e05677bdff33f7..67cc7b889e7b8c48a4c67d892b2615ea7315c098 100644
(file)
--- a/
libs/evoral/src/libsmf/smf.c
+++ b/
libs/evoral/src/libsmf/smf.c
@@
-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);
}