From b7f4eea2073f818a2b7f08299ecb5016427e9e83 Mon Sep 17 00:00:00 2001 From: Alexander Markevich Date: Mon, 13 May 2013 14:26:56 +0300 Subject: [PATCH] Assert statement modifies 'mType'. --- extensions/CCBReader/CCBValue.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/CCBReader/CCBValue.cpp b/extensions/CCBReader/CCBValue.cpp index 21ffdef8c9..cff2f80739 100644 --- a/extensions/CCBReader/CCBValue.cpp +++ b/extensions/CCBReader/CCBValue.cpp @@ -131,7 +131,7 @@ bool CCBValue::getBoolValue() unsigned char CCBValue::getByteValue() { - assert(mType = kUnsignedCharValue); + assert(mType == kUnsignedCharValue); return (unsigned char)(mValue.nValue); }