Commit 51ab877a authored by Jerome Duval's avatar Jerome Duval Committed by Jérôme Duval
Browse files

qtiffhandler: correct types for height and width


qMin() was used with quint32 and uint32. This fixes the build on Haiku.

Change-Id: I193f561b9a63ffe9ee5ae991084118a821e3f22d
Reviewed-by: default avatarAugustin Cavalier <waddlesplash@gmail.com>
Reviewed-by: default avatarEirik Aavitsland <eirik.aavitsland@qt.io>
parent 2b7fadfd
No related merge requests found
Showing with 2 additions and 2 deletions
...@@ -335,8 +335,8 @@ bool QTiffHandler::read(QImage *image) ...@@ -335,8 +335,8 @@ bool QTiffHandler::read(QImage *image)
} }
TIFF *const tiff = d->tiff; TIFF *const tiff = d->tiff;
const uint32 width = d->size.width(); const quint32 width = d->size.width();
const uint32 height = d->size.height(); const quint32 height = d->size.height();
if (format == QImage::Format_Mono || format == QImage::Format_Indexed8 || format == QImage::Format_Grayscale8) { if (format == QImage::Format_Mono || format == QImage::Format_Indexed8 || format == QImage::Format_Grayscale8) {
if (format == QImage::Format_Mono) { if (format == QImage::Format_Mono) {
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment