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