summaryrefslogtreecommitdiff
path: root/src/value.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/value.cc')
-rw-r--r--src/value.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/value.cc b/src/value.cc
index cb45660e..6e4574ca 100644
--- a/src/value.cc
+++ b/src/value.cc
@@ -943,6 +943,9 @@ void value_t::in_place_cast(type_t cast_type)
case AMOUNT:
set_amount(amount_t(as_string()));
return;
+ case MASK:
+ set_mask(as_string());
+ return;
default:
break;
}