From c0641c63fc91652da539c366e044c8748bdcca32 Mon Sep 17 00:00:00 2001 From: wm4 Date: Wed, 21 May 2014 02:11:49 +0200 Subject: osdep: silence a -Wshadow warning --- osdep/io.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/osdep/io.c b/osdep/io.c index 26507eccfd..807ec0a0d0 100644 --- a/osdep/io.c +++ b/osdep/io.c @@ -156,9 +156,9 @@ static int mp_vfprintf(FILE *stream, const char *format, va_list args) if (buf) { vsnprintf(buf, len, format, args); wchar_t *out = mp_from_utf8(NULL, buf); - size_t len = wcslen(out); + size_t out_len = wcslen(out); talloc_free(buf); - done = WriteConsoleW(wstream, out, len, NULL, NULL); + done = WriteConsoleW(wstream, out, out_len, NULL, NULL); talloc_free(out); } } else { -- cgit v1.2.3