From 32e2a5b87963a413a48a0bf5c2968423bb2269e4 Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Wed, 23 Oct 2013 09:18:09 +0300 Subject: [PATCH] test/testother.cpp: Fix a C4800 MSVC warning. --- test/testother.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/testother.cpp b/test/testother.cpp index 0c51410c0..b58a71814 100644 --- a/test/testother.cpp +++ b/test/testother.cpp @@ -562,7 +562,7 @@ private: const SymbolDatabase *symbolDatabase = tokenizer.getSymbolDatabase(); ASSERT_EQUALS(2U, symbolDatabase->getVariableListSize()); const Variable *var = symbolDatabase->getVariableFromVarId(1U); - ASSERT(var->typeStartToken()); + ASSERT(!!var->typeStartToken()); bool invalid = true; for (const Token *tok = var->typeStartToken(); tok; tok = tok->next()) { invalid = true;