X-Git-Url: https://git.distorted.org.uk/~mdw/catacomb/blobdiff_plain/16efb197c59c4b4cfaef7b2f23bd39f70176dd9e..4dafd519dbbdc17887f2de4f6cabe33ac4667ab0:/math/mpint.h 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; \