mirror of
https://invent.kde.org/frameworks/kimageformats.git
synced 2025-05-28 00:30:23 -04:00
heif: replace C cast with static_cast
This commit is contained in:
parent
9ab64dbf22
commit
d2f38b8b9c
@ -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();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user