From 403d03003ec12cf499c72417031f7d7c6b9aa4f9 Mon Sep 17 00:00:00 2001 From: Seungbae Shin Date: Wed, 28 Jun 2023 19:43:20 +0900 Subject: [PATCH] Fix build error on GCC 13.1.0 error: conflicting types for 'heif_itemtable_get_image_mirror_mode' due to enum/integer mismatch; have 'int(void *, heif_mirror_mode_e *)' [-Werror=enum-int-mismatch] Change-Id: Idbde4788d1e584366e6f2c8f159cb22d827877ef --- include/heif_itemtable.h | 2 +- packaging/libheif.spec | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/heif_itemtable.h b/include/heif_itemtable.h index cdb55da..d1d1491 100644 --- a/include/heif_itemtable.h +++ b/include/heif_itemtable.h @@ -43,7 +43,7 @@ int heif_itemtable_get_image_item(heif_itemtable_h handle, unsigned int item_id, int heif_itemtable_get_thumb_item(heif_itemtable_h handle, heif_image_item_h *thumb_item); int heif_itemtable_get_image_resolution(heif_image_item_h image_item, unsigned int *width, unsigned int *height); int heif_itemtable_get_image_orientation(heif_image_item_h image_item, unsigned int *orientation); -int heif_itemtable_get_image_mirror_mode(heif_image_item_h image_item, unsigned int *axis); +int heif_itemtable_get_image_mirror_mode(heif_image_item_h image_item, heif_mirror_mode_e *mirror); int heif_itemtable_get_grid_info(heif_image_item_h image_item, unsigned int *row, unsigned int *column, GSList **img_refs); int heif_itemtable_get_coded_data(heif_itemtable_h handle, heif_image_item_h image_item, heif_buffer_t **coded_data); int heif_itemtable_get_exif(heif_itemtable_h handle, heif_image_item_h image_item, void **exif, size_t *exif_size); diff --git a/packaging/libheif.spec b/packaging/libheif.spec index f2faf2a..5195939 100644 --- a/packaging/libheif.spec +++ b/packaging/libheif.spec @@ -1,6 +1,6 @@ Name: libheif Summary: Multimedia Framework Library for HEIF(ISO/IEC 23008-12) image -Version: 0.0.10 +Version: 0.0.11 Release: 0 Group: Multimedia/Libraries License: Apache-2.0 -- 2.7.4