diff options
Diffstat (limited to 'src/gui/kernel/qplatformcursor.cpp')
-rw-r--r-- | src/gui/kernel/qplatformcursor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/kernel/qplatformcursor.cpp b/src/gui/kernel/qplatformcursor.cpp index 5a438a54a2..1330b5bf31 100644 --- a/src/gui/kernel/qplatformcursor.cpp +++ b/src/gui/kernel/qplatformcursor.cpp @@ -622,7 +622,7 @@ void QPlatformCursorImage::set(const uchar *data, const uchar *mask, int x = -1, w = 0; uchar *cursor_data = cursorImage.bits(); - int bpl = cursorImage.bytesPerLine(); + qsizetype bpl = cursorImage.bytesPerLine(); for (int i = 0; i < height; i++) { for (int j = 0; j < bytesPerLine; j++, data++, mask++) |