cleaned up Windows build warnings

This commit is contained in:
John Safranek
2015-05-12 11:59:07 -07:00
parent 513b43baae
commit 0b1ea204b7
2 changed files with 3 additions and 3 deletions

View File

@@ -338,13 +338,13 @@ static INLINE void array_add(byte* d, word32 dLen, const byte* s, word32 sLen)
for (sIdx = sLen - 1, dIdx = dLen - 1; sIdx >= 0; dIdx--, sIdx--)
{
carry += d[dIdx] + s[sIdx];
d[dIdx] = carry;
d[dIdx] = (byte)carry;
carry >>= 8;
}
for (; carry != 0 && dIdx >= 0; dIdx--) {
carry += d[dIdx];
d[dIdx] = carry;
d[dIdx] = (byte)carry;
carry >>= 8;
}
}