From d2f38b8b9c9f317908217a960662f67823186b3c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Novomesk=C3=BD?= Date: Mon, 26 Sep 2022 09:38:21 +0200 Subject: [PATCH] heif: replace C cast with static_cast --- src/imageformats/heif.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/imageformats/heif.cpp b/src/imageformats/heif.cpp index eea93c7..ba5d2ce 100644 --- a/src/imageformats/heif.cpp +++ b/src/imageformats/heif.cpp @@ -405,7 +405,7 @@ bool HEIFHandler::ensureDecoder() try { heif::Context ctx; - ctx.read_from_memory_without_copy((const void *)(buffer.constData()), buffer.size()); + ctx.read_from_memory_without_copy(static_cast(buffer.constData()), buffer.size()); heif::ImageHandle handle = ctx.get_primary_image_handle();