summaryrefslogtreecommitdiff
path: root/plugins/kaitai
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/kaitai')
-rw-r--r--plugins/kaitai/parsers/attribute.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/kaitai/parsers/attribute.c b/plugins/kaitai/parsers/attribute.c
index c61fe99..3eb406a 100644
--- a/plugins/kaitai/parsers/attribute.c
+++ b/plugins/kaitai/parsers/attribute.c
@@ -1538,7 +1538,7 @@ static bool _g_kaitai_attribute_parse_content(GKaitaiAttribute *attrib, kaitai_s
goto exit;
init_mrange(&work_range, pos, diff);
- work_area = g_restricted_content_new_ro(content, &work_range);
+ work_area = g_restricted_content_new(content, &work_range);
has_empty_size = (diff == 0);