diff options
author | Sebastian Dröge <sebastian@centricular.com> | 2016-08-16 10:37:28 +0300 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2016-08-16 10:37:28 +0300 |
commit | 04199db2aeea966c2c879b1764427c87433570f1 (patch) | |
tree | 5298ee63c075bf9f77c796b34a13c732244660aa | |
parent | 2b6841da3201dfc91bf6c88a064d651ee081f9fa (diff) |
wildmidi: Fix compilation with wildmidi 0.4
Old versions used char* for the data, new versions use int8_t*. They're often
not the same and differ in signedness.
-rw-r--r-- | ext/timidity/gstwildmidi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/timidity/gstwildmidi.c b/ext/timidity/gstwildmidi.c index 3e82ca2fb..f52ea9d98 100644 --- a/ext/timidity/gstwildmidi.c +++ b/ext/timidity/gstwildmidi.c @@ -672,7 +672,7 @@ gst_wildmidi_get_buffer (GstWildmidi * wildmidi) gst_buffer_map (buffer, &info, GST_MAP_READWRITE); GST_OBJECT_LOCK (wildmidi); - size = WildMidi_GetOutput (wildmidi->song, (char *) info.data, + size = WildMidi_GetOutput (wildmidi->song, (gpointer) info.data, (unsigned long int) info.size); GST_OBJECT_UNLOCK (wildmidi); |