Fix UnsignedInteger::isZero

This commit is contained in:
Vinnie Falco
2013-09-13 13:06:45 -07:00
parent 1dd2836f1b
commit 1ad8ff9b64

View File

@@ -176,7 +176,7 @@ public:
/** Determine if all bits are zero. */
bool isZero () const
{
for (int i = 0; i < Bytes; ++i)
for (int i = 0; i < CalcCount; ++i)
{
if (m_values [i] != 0)
return false;