heif: replace C cast with static_cast

This commit is contained in:
Daniel Novomeský 2022-09-26 09:38:21 +02:00
parent 9ab64dbf22
commit d2f38b8b9c

View File

@ -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<const void *>(buffer.constData()), buffer.size());
heif::ImageHandle handle = ctx.get_primary_image_handle();