Commit df0adaa2 authored by Orgad Shaneh's avatar Orgad Shaneh Committed by Orgad Shaneh

CDB: Clarify condition

compare() doesn't return bool, but negative, 0 or positive value.

Change-Id: I9f2becfa0980e0fb738ab27eaa651c45392385db
Reviewed-by: default avatarDavid Schulz <david.schulz@digia.com>
parent 9c285261
......@@ -426,7 +426,7 @@ DumpParameters::checkRecode(const std::string &type,
switch (type.at(type.size() - 1)) {
case '*':
reformatType = ReformatPointer;
if (value.compare(0, 2, L"0x"))
if (value.compare(0, 2, L"0x") != 0)
return result;
break;
case ']':
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment