From e530d770e1e617cc8d9adba8ec9186f0a980471f Mon Sep 17 00:00:00 2001 From: Edoardo Prezioso Date: Mon, 30 Jan 2012 13:04:10 +0100 Subject: [PATCH] Tokenizer::simplifyTypedef: to be sure there are no problems, promote to 'int' the variable 'offset'. --- lib/tokenize.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tokenize.cpp b/lib/tokenize.cpp index a10a5b432..c61b59581 100644 --- a/lib/tokenize.cpp +++ b/lib/tokenize.cpp @@ -984,7 +984,7 @@ void Tokenizer::simplifyTypedef() Token *argFuncRetEnd = 0; Token *funcStart = 0; Token *funcEnd = 0; - unsigned short offset = 1; + unsigned int offset = 1; bool function = false; bool functionPtr = false; bool functionRef = false;