Fix compilation issue

This commit is contained in:
Alfonso Gregory 2021-07-09 14:20:54 -04:00 committed by GitHub
commit 25a5c1b315
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1048,7 +1048,7 @@ bool stripzeroesnum(_Inout_ PNUMBER pnum, int32_t starting)
if (fstrip)
{
// Remove them.
memmove(pnum->mant, pmant, static_cast<size_t>(cdigits) * sizeof(MANTTYPE)));
memmove(pnum->mant, pmant, static_cast<size_t>(cdigits) * sizeof(MANTTYPE));
// And adjust exponent and digit count accordingly.
pnum->exp += (pnum->cdigit - cdigits);
pnum->cdigit = cdigits;