From ee82a8daf556305ea878965665f7ce17e9bf1924 Mon Sep 17 00:00:00 2001 From: Themaister Date: Wed, 28 Nov 2012 16:24:47 +0100 Subject: [PATCH] Const-correctness fix. --- record/ffemu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/record/ffemu.c b/record/ffemu.c index 9e8354b7cd..74a68136e1 100644 --- a/record/ffemu.c +++ b/record/ffemu.c @@ -972,7 +972,7 @@ static void ffemu_audio_resample(ffemu_t *handle, struct ffemu_audio_data *data) { // It's always two channels ... struct resampler_data info = {0}; - info.data_in = (sample_t*)data->data; + info.data_in = (const sample_t*)data->data; info.data_out = handle->audio.resample_out; info.input_frames = data->frames; info.ratio = handle->audio.ratio;