diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2018-11-02 14:44:13 -0700 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2019-08-24 01:39:37 +0200 |
commit | f8d41309c8a62345c32da180507bcd60316dbb0c (patch) | |
tree | e36cdd3bca1ddbc1c3da0906ec9d40c0280c15b6 /src/gui/painting/qdrawhelper_neon_p.h | |
parent | 92f4523c8a257fae5331583a023fb9a9f3393ca4 (diff) |
Use qsizetype for qt_memfill functions
Just in case the image is larger than 2 GB (512 megapixels).
Change-Id: I343f2beed55440a7ac0bfffd15636cbc68dfa13d
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
(cherry picked from commit 1e2bf51d3e5d891db3c1383e6567d1c77dfc8973)
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/gui/painting/qdrawhelper_neon_p.h')
-rw-r--r-- | src/gui/painting/qdrawhelper_neon_p.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/painting/qdrawhelper_neon_p.h b/src/gui/painting/qdrawhelper_neon_p.h index 40475a9bde..19e1f21a3b 100644 --- a/src/gui/painting/qdrawhelper_neon_p.h +++ b/src/gui/painting/qdrawhelper_neon_p.h @@ -123,7 +123,7 @@ void qt_transform_image_rgb16_on_rgb16_neon(uchar *destPixels, int dbpl, const QTransform &targetRectTransform, int const_alpha); -void qt_memfill32_neon(quint32 *dest, quint32 value, int count); +void qt_memfill32_neon(quint32 *dest, quint32 value, qsizetype count); void qt_memrotate90_16_neon(const uchar *srcPixels, int w, int h, int sbpl, uchar *destPixels, int dbpl); void qt_memrotate270_16_neon(const uchar *srcPixels, int w, int h, int sbpl, uchar *destPixels, int dbpl); |