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"};