Skip to content

Commit

Permalink
Fixed a type conversion warning
Browse files Browse the repository at this point in the history
  • Loading branch information
jaw committed Oct 1, 2016
1 parent 7878091 commit 5d223b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion json11.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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++];
}
Expand Down

0 comments on commit 5d223b3

Please sign in to comment.