diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2023-09-27 23:08:50 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2023-09-27 23:08:50 (GMT) |
commit | 641761e51672fa33f27acdcdb40b46b506ab07dc (patch) | |
tree | 8db1ce412b87f0217b250ff371ebcc51ab3905cf /plugins/kaitai | |
parent | a5cd93644fbb16dfc181f630b1c8d739fdc685fb (diff) |
Replace interface by inheritance for binary content objects.
Diffstat (limited to 'plugins/kaitai')
-rw-r--r-- | plugins/kaitai/parsers/attribute.c | 2 |
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); |