mirror of
https://invent.kde.org/frameworks/kimageformats.git
synced 2025-07-19 12:14:20 -04:00
heif: replace C cast with static_cast
This commit is contained in:
@ -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();
|
||||
|
||||
|
Reference in New Issue
Block a user