From: svost Date: Tue, 23 Feb 2016 07:46:17 +0000 (+0300) Subject: Fix msvc c4800: explicit cast to bool X-Git-Tag: nvc-v0.5.6~33^2^2~5 X-Git-Url: https://git.novaco.in/?p=novacoin.git;a=commitdiff_plain;h=d4d2490bf3d37f397da11a93d357cc910e136307 Fix msvc c4800: explicit cast to bool --- diff --git a/src/key.h b/src/key.h index 67c414e..a9ac6c7 100644 --- a/src/key.h +++ b/src/key.h @@ -203,7 +203,7 @@ public: // Calculate G*m + q bool ECMULGEN(const CBigNum &bnMultiplier, const CPoint &qPoint); - bool IsInfinity() { return EC_POINT_is_at_infinity(group, point); } + bool IsInfinity() { return EC_POINT_is_at_infinity(group, point) != 0; } }; class CMalleablePubKey