math/mpint.h (MP_TOINT): Convert MP digits to target type before shifting.
authorMark Wooding <mdw@distorted.org.uk>
Sun, 11 Sep 2016 13:24:34 +0000 (14:24 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Sun, 11 Sep 2016 13:24:34 +0000 (14:24 +0100)
commitc973f431a370a3adbcb3c94f76dc6896a7279235
treea0f8d5907f5e8857b9652be9d00c28d4e149599f
parentfa17e5dc48bf2961e5a99c83ed3d8018b329d037
math/mpint.h (MP_TOINT): Convert MP digits to target type before shifting.

Otherwise conversions to types wider than `mpw' never actually works.
math/mpint.h