git://git.novaco.in
/
novacoin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
7a26953
)
Fix msvc c4800: explicit cast to bool
author
svost
<svost@users.noreply.github.com>
Tue, 23 Feb 2016 07:46:17 +0000 (10:46 +0300)
committer
svost
<svost@users.noreply.github.com>
Tue, 23 Feb 2016 07:46:17 +0000 (10:46 +0300)
src/key.h
patch
|
blob
|
history
diff --git
a/src/key.h
b/src/key.h
index
67c414e
..
a9ac6c7
100644
(file)
--- 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