summaryrefslogtreecommitdiff
path: root/gaddag.h
diff options
context:
space:
mode:
Diffstat (limited to 'gaddag.h')
-rwxr-xr-xgaddag.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gaddag.h b/gaddag.h
index ca15a63..1cf6319 100755
--- a/gaddag.h
+++ b/gaddag.h
@@ -47,7 +47,7 @@ GaddagNode::letter() const
inline bool
GaddagNode::isTerminal() const
{
- return data[3] & 0x40 /*0b01000000*/;
+ return (data[3] & 0x40) != 0 /*0b01000000*/;
}
inline const GaddagNode *