mirror of
https://github.com/dropbox/json11.git
synced 2024-12-15 08:50:05 +08:00
Fixed a type conversion warning
This commit is contained in:
parent
787809178d
commit
5d223b36ee
@ -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++];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user