Fixed a 'comparison between signed and unsigned' error.

This commit is contained in:
Aaron Jacobs 2011-05-25 05:50:13 +00:00
parent 7b5edd9859
commit e082248001

View File

@ -1373,7 +1373,7 @@ Value::isUInt() const
switch ( type_ )
{
case intValue:
return value_.int_ >= 0 && value_.int_ <= maxUInt;
return value_.int_ >= 0 && LargestUInt(value_.int_) <= LargestUInt(maxUInt);
case uintValue:
return value_.uint_ <= maxUInt;
case realValue: