mirror of
https://invent.kde.org/frameworks/kimageformats.git
synced 2025-06-03 00:58:15 -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 {
|
try {
|
||||||
heif::Context ctx;
|
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();
|
heif::ImageHandle handle = ctx.get_primary_image_handle();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user