X-Git-Url: https://git.distorted.org.uk/~mdw/catacomb/blobdiff_plain/16efb197c59c4b4cfaef7b2f23bd39f70176dd9e..12cc2b760b2bbc3e8fa26c12303e2ea36f3b89da:/math/mpint.h?ds=sidebyside diff --git a/math/mpint.h b/math/mpint.h index 1b0a7623..6b733d1a 100644 --- a/math/mpint.h +++ b/math/mpint.h @@ -133,7 +133,7 @@ /* --- Do all the arithmetic in negative numbers --- */ \ \ while (_v < _vl && _max > 0) { \ - _i -= *_v << _s; \ + _i -= (type)*_v << _s; \ _s += MPW_BITS; \ _v++; \ _max /= (mpd)MPW_MAX + 1; \