Merge pull request #2558 from Xander84/master

Assert statement modifies 'mType'. [ci skip]
This commit is contained in:
James Chen 2013-05-13 06:29:31 -07:00
commit ffd8dad276
1 changed files with 1 additions and 1 deletions

View File

@ -131,7 +131,7 @@ bool CCBValue::getBoolValue()
unsigned char CCBValue::getByteValue()
{
assert(mType = kUnsignedCharValue);
assert(mType == kUnsignedCharValue);
return (unsigned char)(mValue.nValue);
}