summaryrefslogtreecommitdiff
path: root/src/op.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/op.cc')
-rw-r--r--src/op.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/op.cc b/src/op.cc
index 7dbbf3a2..389baf38 100644
--- a/src/op.cc
+++ b/src/op.cc
@@ -234,7 +234,7 @@ value_t expr_t::op_t::calc(scope_t& scope, ptr_op_t * locus)
break;
case O_NEG:
- result = left()->calc(scope, locus).negate();
+ result = left()->calc(scope, locus).negated();
break;
case O_NOT: