Fix build with Qt 6.7

This commit is contained in:
Antonio Rojas 2023-12-20 18:32:28 +01:00
parent 9f24023ca7
commit f34185197a

View File

@ -960,7 +960,11 @@ bool XCFImageFormat::loadImageProperties(QDataStream &xcf_io, XCFImage &xcf_imag
case PROP_PARASITES:
while (!property.atEnd()) {
char *tag;
#if QT_VERSION < QT_VERSION_CHECK(6, 7, 0)
quint32 size;
#else
qsizetype size;
#endif
property.readBytes(tag, size);