aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar wm4 <wm4@nowhere>2014-05-21 02:11:49 +0200
committerGravatar wm4 <wm4@nowhere>2014-05-21 02:21:18 +0200
commitc0641c63fc91652da539c366e044c8748bdcca32 (patch)
treea446c4ddc8706e8474f8fb5f45eb09add90efdda
parent885b74476763355f037889adbd1005a6053d7e62 (diff)
osdep: silence a -Wshadow warning
-rw-r--r--osdep/io.c4
1 files 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 {