Fix compilation on 64bit systems

This commit is contained in:
Nicolas Le Cam 2009-03-18 22:13:27 +01:00
parent f37dd4f143
commit 2b199ffb9b
1 changed files with 1 additions and 1 deletions

View File

@ -1324,7 +1324,7 @@ private:
const Token *tok = Tokenizer::FindClassFunction(tokenizer.tokens(), "Fred", "%var%", i);
ASSERT_EQUALS(true, Token::simpleMatch(tok, "Fred ( ) {"));
tok = Tokenizer::FindClassFunction(tok->next(), "Fred", "%var%", i);
ASSERT_EQUALS(0, (int)tok);
ASSERT_EQUALS(0, tok ? 1 : 0);
}
void vardecl1()