From c679a764761ef4056bb43d2e514a607174b45bd6 Mon Sep 17 00:00:00 2001 From: Dirk Farin Date: Thu, 5 Oct 2023 12:22:25 +0200 Subject: [PATCH] make heif_error_success const --- libheif/heif.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libheif/heif.cc b/libheif/heif.cc index 55b1cc19c7..348738c6d1 100644 --- a/libheif/heif.cc +++ b/libheif/heif.cc @@ -58,7 +58,7 @@ #include -struct const heif_error heif_error_success = {heif_error_Ok, heif_suberror_Unspecified, kSuccess}; +const struct heif_error heif_error_success = {heif_error_Ok, heif_suberror_Unspecified, kSuccess}; static struct heif_error error_unsupported_parameter = {heif_error_Usage_error, heif_suberror_Unsupported_parameter, "Unsupported encoder parameter"};