summaryrefslogtreecommitdiff
path: root/node/Address.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'node/Address.hpp')
-rw-r--r--node/Address.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/node/Address.hpp b/node/Address.hpp
index fce4f20c..8baf9dbe 100644
--- a/node/Address.hpp
+++ b/node/Address.hpp
@@ -205,7 +205,7 @@ public:
/**
* @return True if this address is not zero
*/
- inline operator bool() const throw() { return (_a); }
+ inline operator bool() const throw() { return (_a != 0); }
/**
* @return Sum of all bytes in address