Merge pull request #45 from maqifrnswa/master
Fix cryptonomex/graphene#107: char as signed for EOF case
This commit is contained in:
commit
1ce9f4c37e
2 changed files with 2 additions and 2 deletions
|
|
@ -689,7 +689,7 @@ namespace fc { namespace json_relaxed
|
|||
{
|
||||
skip_white_space(in);
|
||||
variant var;
|
||||
while( char c = in.peek() )
|
||||
while( signed char c = in.peek() )
|
||||
{
|
||||
switch( c )
|
||||
{
|
||||
|
|
|
|||
|
|
@ -390,7 +390,7 @@ namespace fc
|
|||
{
|
||||
skip_white_space(in);
|
||||
variant var;
|
||||
while( char c = in.peek() )
|
||||
while( signed char c = in.peek() )
|
||||
{
|
||||
switch( c )
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue