summaryrefslogtreecommitdiff
path: root/src/value.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/value.cc')
-rw-r--r--src/value.cc10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/value.cc b/src/value.cc
index 5fa748f6..2446c97a 100644
--- a/src/value.cc
+++ b/src/value.cc
@@ -1251,6 +1251,16 @@ void value_t::in_place_cast(type_t cast_type)
}
break;
+ case MASK:
+ switch (cast_type) {
+ case STRING:
+ set_string(as_mask().str());
+ return;
+ default:
+ break;
+ }
+ break;
+
default:
break;
}