commit | c2201ce02eb90af6604f116f663f5766abf7a7b3 | [log] [tgz] |
---|---|---|
author | Manu343726 <Manu343726@gmail.com> | Sat Aug 12 23:15:47 2017 +0200 |
committer | Victor Zverovich <victor.zverovich@gmail.com> | Sun Aug 20 06:52:52 2017 -0700 |
tree | 82df18ffb5c679750bef7b7e2df6c956cbc0cd17 | |
parent | 6efbccb387f06b7cdada39e3ea467520a47b9727 [diff] |
Accept wide chars as integers to prevent conversion warning
diff --git a/fmt/printf.h b/fmt/printf.h index 30cbc49..db91022 100644 --- a/fmt/printf.h +++ b/fmt/printf.h
@@ -110,7 +110,7 @@ visit_any_int(value); } - void visit_char(char value) { + void visit_char(int value) { if (type_ != 's') visit_any_int(value); }