Fixed a type conversion warning

This commit is contained in:
Jonatan "jaw" Wallmander 2016-10-01 17:31:51 +02:00
parent 787809178d
commit 5d223b36ee

View File

@ -435,7 +435,7 @@ struct JsonParser final {
char get_next_token() {
consume_garbage();
if (i == str.size())
return fail("unexpected end of input", 0);
return (char)fail("unexpected end of input", 0);
return str[i++];
}