summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--gst/audioresample/resample.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/audioresample/resample.c b/gst/audioresample/resample.c
index 8ad22e85..8a73de31 100644
--- a/gst/audioresample/resample.c
+++ b/gst/audioresample/resample.c
@@ -114,7 +114,7 @@ resample_add_input_data (ResampleState * r, void *data, int size,
buffer = audioresample_buffer_new_with_data (data, size);
buffer->free = resample_buffer_free;
- buffer->priv2 = free_func;
+ buffer->priv2 = (void *) free_func;
buffer->priv = closure;
audioresample_buffer_queue_push (r->queue, buffer);