From 78316f02b6edd395ef20e0da9aa0afc372224ac8 Mon Sep 17 00:00:00 2001 From: Thomas Jarosch Date: Fri, 28 Dec 2012 11:31:50 +0100 Subject: [PATCH] Fix comment about wrong magic number --- lib/checkbufferoverrun.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/checkbufferoverrun.cpp b/lib/checkbufferoverrun.cpp index 27c2ab974..167f4a4ea 100644 --- a/lib/checkbufferoverrun.cpp +++ b/lib/checkbufferoverrun.cpp @@ -591,7 +591,7 @@ void CheckBufferOverrun::checkFunctionParameter(const Token &tok, unsigned int p // Parse function call. When a ',' is seen, arg is decremented. // if arg becomes 1 then the current function parameter is the wanted parameter. - // if arg becomes 1000 then multiply current and next argument. + // if arg becomes 1001 then multiply current and next argument. const Token *tok2 = tok.tokAt(2)->nextArgument(); if (arg == 3) tok2 = tok2->nextArgument();