Minor fix to previous commit

This commit is contained in:
Reijo Tomperi 2009-11-15 17:49:47 +02:00
parent 9275b49688
commit 54c6d8ab2c
1 changed files with 1 additions and 1 deletions

View File

@ -680,7 +680,7 @@ void CheckBufferOverrun::checkGlobalAndLocalVariable()
// manually
unsigned int sizeOfType = _tokenizer->sizeOfType(declTok);
if (sizeOfType > 0)
size /= _tokenizer->sizeOfType(declTok);
size /= sizeOfType;
}
}
else