From: svost Date: Sun, 26 Dec 2021 12:25:24 +0000 (+0300) Subject: Fix compiler noise X-Git-Tag: nvc-v0.5.9~26 X-Git-Url: https://git.novaco.in/?p=novacoin.git;a=commitdiff_plain;h=28bc1f989d43837a74982b111844edfbec08b5ee Fix compiler noise --- diff --git a/src/bignum.h b/src/bignum.h index c8ba566..2c412f0 100644 --- a/src/bignum.h +++ b/src/bignum.h @@ -92,6 +92,8 @@ public: BN_clear_free(bn); } + CBigNum(bool n) { bn = BN_new(); setuint32(n); } + CBigNum(int8_t n) { bn = BN_new(); if (n >= 0) setuint32(n); else setint64(n); } CBigNum(int16_t n) { bn = BN_new(); if (n >= 0) setuint32(n); else setint64(n); } CBigNum(int32_t n) { bn = BN_new(); if (n >= 0) setuint32(n); else setint64(n); }