Skip to content

Commit

Permalink
Updated a cast to use a more appropriate type.
Browse files Browse the repository at this point in the history
git-svn-id: https://jsoncpp.svn.sourceforge.net/svnroot/jsoncpp/trunk@196 1f120ed1-78a5-a849-adca-83f0a9e25bb6
  • Loading branch information
aaronjacobs authored and rjeczalik committed Dec 17, 2012
1 parent c718859 commit 0b25441
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib_json/json_value.cpp
Expand Up @@ -926,7 +926,7 @@ Value::isConvertibleTo( ValueType other ) const
|| other == booleanValue;
case uintValue:
return ( other == nullValue && value_.uint_ == 0 )
|| ( other == intValue && value_.uint_ <= (unsigned)maxInt )
|| ( other == intValue && value_.uint_ <= (LargestUInt)maxInt )
|| other == uintValue
|| other == realValue
|| other == stringValue
Expand Down

0 comments on commit 0b25441

Please sign in to comment.