X-Git-Url: https://git.novaco.in/?a=blobdiff_plain;f=src%2Fbignum.h;h=7f02fd598c3c2525b137d80f396d80ae4a7efae0;hb=1ebe5b92ef18395cdae9b88fc38b0ed6166c3243;hp=35708406c6fdea749bece72d3e947ef0eed696be;hpb=e69d227d0d466a1426be560b628cf788eb09835a;p=novacoin.git diff --git a/src/bignum.h b/src/bignum.h index 3570840..7f02fd5 100644 --- a/src/bignum.h +++ b/src/bignum.h @@ -188,7 +188,7 @@ public: pch[1] = (nSize >> 16) & 0xff; pch[2] = (nSize >> 8) & 0xff; pch[3] = (nSize) & 0xff; - BN_mpi2bn(pch, p - pch, this); + BN_mpi2bn(pch, (int)(p - pch), this); } uint64_t getuint64()