From d021cd9074174091e726ee98818add361ab17e73 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Sat, 20 Nov 2010 11:28:47 +0100 Subject: [PATCH] VS: fixed compiler warning. Ticket: #2200 --- lib/checkother.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/checkother.cpp b/lib/checkother.cpp index d6197c56f..33d3d3de3 100644 --- a/lib/checkother.cpp +++ b/lib/checkother.cpp @@ -304,7 +304,7 @@ void CheckOther::invalidFunctionUsage() { if (Token::Match(tok2, ", %num% )")) { - int radix = MathLib::toLongNumber(tok2->next()->str()); + const MathLib::bigint radix = MathLib::toLongNumber(tok2->next()->str()); if (!(radix == 0 || (radix >= 2 && radix <= 36))) { dangerousUsageStrtolError(tok2);