From 246b3b8d874548d0cef89b09905183667a8fb3d1 Mon Sep 17 00:00:00 2001 From: Twinaphex Date: Tue, 14 Oct 2014 18:56:40 +0200 Subject: [PATCH] (audio_thread_wrapper.c) Fix 'declaration shadows variable(s) in global scope' warnings --- audio/audio_thread_wrapper.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/audio/audio_thread_wrapper.c b/audio/audio_thread_wrapper.c index 5f49f5a850..9468fea639 100644 --- a/audio/audio_thread_wrapper.c +++ b/audio/audio_thread_wrapper.c @@ -204,16 +204,16 @@ static const audio_driver_t audio_thread = { }; bool rarch_threaded_audio_init(const audio_driver_t **out_driver, void **out_data, - const char *device, unsigned out_rate, unsigned latency, - const audio_driver_t *driver) + const char *device, unsigned audio_out_rate, unsigned latency, + const audio_driver_t *drv) { audio_thread_t *thr = (audio_thread_t*)calloc(1, sizeof(*thr)); if (!thr) return false; - thr->driver = driver; + thr->driver = (const audio_driver_t*)drv; thr->device = device; - thr->out_rate = out_rate; + thr->out_rate = audio_out_rate; thr->latency = latency; if (!(thr->cond = scond_new()))