Fix compiler noise
authorsvost <ya.nowa@yandex.ru>
Sun, 26 Dec 2021 12:25:24 +0000 (15:25 +0300)
committersvost <ya.nowa@yandex.ru>
Sun, 26 Dec 2021 12:25:24 +0000 (15:25 +0300)
src/bignum.h

index c8ba566..2c412f0 100644 (file)
@@ -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); }