diff options
Diffstat (limited to 'src/value.cc')
-rw-r--r-- | src/value.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/value.cc b/src/value.cc index 4089e0c3..9c50f830 100644 --- a/src/value.cc +++ b/src/value.cc @@ -967,7 +967,8 @@ void value_t::in_place_cast(type_t cast_type) } else if (cast_type == SEQUENCE) { sequence_t temp; - temp.push_back(*this); + if (! is_null()) + temp.push_back(*this); set_sequence(temp); return; } |