From c2201ce02eb90af6604f116f663f5766abf7a7b3 Mon Sep 17 00:00:00 2001 From: Manu343726 Date: Sat, 12 Aug 2017 23:15:47 +0200 Subject: [PATCH] Accept wide chars as integers to prevent conversion warning --- fmt/printf.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fmt/printf.h b/fmt/printf.h index 30cbc49b..db91022c 100644 --- a/fmt/printf.h +++ b/fmt/printf.h @@ -110,7 +110,7 @@ class ArgConverter : public ArgVisitor, void> { visit_any_int(value); } - void visit_char(char value) { + void visit_char(int value) { if (type_ != 's') visit_any_int(value); }