[Coverity] Unintended sign extension (SIGN_EXTENSION)

This commit is contained in:
Peter D. Barnes, Jr.
2013-05-20 15:37:04 -07:00
parent 74a3079c12
commit 9ef6072262

View File

@@ -587,7 +587,7 @@ bvec
SimpleOfdmWimaxPhy::RecreateBuffer ()
{
bvec buffer (m_blockSize * m_nrBlocks);
bvec buffer (m_blockSize * (unsigned long)m_nrBlocks);
bvec block (m_blockSize);
uint32_t i = 0;
for (uint32_t j = 0; j < m_nrBlocks; j++)