From 785ba2675d597880a99210b3aa5bce9c8b194b8c Mon Sep 17 00:00:00 2001 From: Aaron Jacobs Date: Tue, 24 May 2011 00:43:30 +0000 Subject: [PATCH] Updated a cast to use a more appropriate type. --- src/lib_json/json_value.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib_json/json_value.cpp b/src/lib_json/json_value.cpp index 83170f8..c48455b 100644 --- a/src/lib_json/json_value.cpp +++ b/src/lib_json/json_value.cpp @@ -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