PKGBUILDs/extra/gstreamer0.10-bad/wildmidi-0.4.patch
2016-08-19 21:58:24 +00:00

16 lines
538 B
Diff

Old versions used char* for the data, new versions use int8_t*. They're often
not the same and differ in signedness.
(backported from 04199db2aeea966c2c879b1764427c87433570f1)
--- a/ext/timidity/gstwildmidi.c
+++ b/ext/timidity/gstwildmidi.c
@@ -631,7 +631,7 @@
size = GST_BUFFER_SIZE (buffer);
GST_OBJECT_LOCK (wildmidi);
- bytes_read = WildMidi_GetOutput (wildmidi->song, (char *) data,
+ bytes_read = WildMidi_GetOutput (wildmidi->song, (gpointer *) data,
(unsigned long int) size);
GST_OBJECT_UNLOCK (wildmidi);