mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-20 13:06:23 +00:00
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.
This commit is contained in:
parent
2b6841da32
commit
04199db2ae
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue