From 72b1a948def6c7a2e969d18faef9c2260ccf57e6 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Thu, 1 Mar 2012 17:45:25 -0600 Subject: Fixes to value_t to Python conversion --- src/value.cc | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/value.cc') 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; } -- cgit v1.2.3