From d19f676547a73b6fd2bf8560f584b0eae0d1dcb5 Mon Sep 17 00:00:00 2001 From: orbitcowboy Date: Thu, 22 May 2014 18:00:06 +0200 Subject: [PATCH] Fixed travis build warning (Check Internal). --- lib/tokenize.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tokenize.cpp b/lib/tokenize.cpp index 44258415d..6b711b9cd 100644 --- a/lib/tokenize.cpp +++ b/lib/tokenize.cpp @@ -6526,7 +6526,7 @@ bool Tokenizer::simplifyKnownVariablesGetData(unsigned int varid, Token **_tok2, } // Add a '.0' to a decimal value and therefore convert it to an floating point number. - else if (MathLib::isDec(tok2->tokAt(2)->str()) && floatvar) { + else if (MathLib::isDec(tok2->strAt(2)) && floatvar) { value += ".0"; }