summaryrefslogtreecommitdiff
path: root/value.h
diff options
context:
space:
mode:
Diffstat (limited to 'value.h')
-rw-r--r--value.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/value.h b/value.h
index 6c8bbe96..fe01786b 100644
--- a/value.h
+++ b/value.h
@@ -396,7 +396,7 @@ inline value_t abs(const value_t& value) {
inline std::ostream& operator<<(std::ostream& out, const value_t& value) {
switch (value.type) {
case value_t::BOOLEAN:
- out << *((bool *) value.data) ? "true" : "false";
+ out << (*((bool *) value.data) ? "true" : "false");
break;
case value_t::INTEGER:
out << *((long *) value.data);