From 019b64ad4cf292d39b5ddb768b38a56105983b3d 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 49c555eb34..e38e680224 100644 --- a/libheif/box.cc +++ b/libheif/box.cc @@ -1268,9 +1268,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()); } }