osdep: silence a -Wshadow warning

This commit is contained in:
wm4 2014-05-21 02:11:49 +02:00
parent 885b744767
commit c0641c63fc
1 changed files with 2 additions and 2 deletions

View File

@ -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 {