From f34185197a416e71463cc63fc8328ea6fb08ae25 Mon Sep 17 00:00:00 2001 From: Antonio Rojas Date: Wed, 20 Dec 2023 18:32:28 +0100 Subject: [PATCH] Fix build with Qt 6.7 --- src/imageformats/xcf.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/imageformats/xcf.cpp b/src/imageformats/xcf.cpp index 9a20cbe..7d8bccf 100644 --- a/src/imageformats/xcf.cpp +++ b/src/imageformats/xcf.cpp @@ -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);