From b671d752d13c8273df21f8e6e18e7772420fef11 Mon Sep 17 00:00:00 2001 From: Brad Hards Date: Tue, 13 Feb 2024 12:27:42 +1100 Subject: [PATCH] iloc: fix error message --- libheif/box.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libheif/box.cc b/libheif/box.cc index 6d101e46ac..1375f2bb00 100644 --- a/libheif/box.cc +++ b/libheif/box.cc @@ -1275,9 +1275,9 @@ Error Box_iloc::read_data(const Item& item, } else { std::stringstream sstr; - sstr << "Item construction method " << item.construction_method << " not implemented"; + sstr << "Item construction method " << (int) item.construction_method << " not implemented"; return Error(heif_error_Unsupported_feature, - heif_suberror_No_idat_box, + heif_suberror_Unsupported_item_construction_method, sstr.str()); } }