Accept wide chars as integers to prevent conversion warning

This commit is contained in:
Manu343726 2017-08-12 23:15:47 +02:00 committed by Victor Zverovich
parent 6efbccb387
commit c2201ce02e

View File

@ -110,7 +110,7 @@ class ArgConverter : public ArgVisitor<ArgConverter<T>, void> {
visit_any_int(value); visit_any_int(value);
} }
void visit_char(char value) { void visit_char(int value) {
if (type_ != 's') if (type_ != 's')
visit_any_int(value); visit_any_int(value);
} }