mirror of
https://invent.kde.org/frameworks/kimageformats.git
synced 2025-07-18 03:54:18 -04:00
Replace C cast with reinterpret_cast
This commit is contained in:
@ -811,7 +811,7 @@ bool QAVIFHandler::write(const QImage &image)
|
||||
avifImageDestroy(avif);
|
||||
|
||||
if (res == AVIF_RESULT_OK) {
|
||||
qint64 status = device()->write((const char *)raw.data, raw.size);
|
||||
qint64 status = device()->write(reinterpret_cast<const char *>(raw.data), raw.size);
|
||||
avifRWDataFree(&raw);
|
||||
|
||||
if (status > 0) {
|
||||
|
Reference in New Issue
Block a user