From ff6883710b04e92e23b223b8ca78c7e9592610a4 Mon Sep 17 00:00:00 2001 From: wowario Date: Sun, 27 Jun 2021 14:34:26 +0300 Subject: [PATCH] fix macos operator error --- src/cryptonote_basic/cryptonote_boost_serialization.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cryptonote_basic/cryptonote_boost_serialization.h b/src/cryptonote_basic/cryptonote_boost_serialization.h index 51e790dde..940932af5 100644 --- a/src/cryptonote_basic/cryptonote_boost_serialization.h +++ b/src/cryptonote_basic/cryptonote_boost_serialization.h @@ -342,7 +342,7 @@ namespace boost if (x.rangeSigs.empty()) { a & x.bulletproofs; - if (ver >= 2) + if (ver >= 2u) a & x.bulletproofs_plus; } a & x.MGs; @@ -372,7 +372,7 @@ namespace boost if (x.p.rangeSigs.empty()) { a & x.p.bulletproofs; - if (ver >= 2) + if (ver >= 2u) a & x.p.bulletproofs_plus; } a & x.p.MGs;