summaryrefslogtreecommitdiff
path: root/gaddag.h
diff options
context:
space:
mode:
authorJohn Fultz <jfultz@wolfram.com>2015-07-21 10:18:57 -0500
committerJohn Fultz <jfultz@wolfram.com>2015-07-21 10:18:57 -0500
commitd912747a68c38baa1d19e07067d8c691f29f8198 (patch)
treef221b417220ffe5b6adbf3ca8210c788379d7842 /gaddag.h
parent46fc18d0d167cc6feacfb41fadb207a1234ccc26 (diff)
Visual Studio build maintenance.
* Fix compiler warnings * Add Visual Studio 2013 solution * Tweak .pro files * Most importantly, rename main 'quackle' project to 'libquackle' to avoid solution-level name conflict. This only affects the VS build.
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 *