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_mips_dsp_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_mips_dsp_p.h')
-rw-r--r-- | src/gui/painting/qdrawhelper_mips_dsp_p.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/painting/qdrawhelper_mips_dsp_p.h b/src/gui/painting/qdrawhelper_mips_dsp_p.h index 36c4af2732..a3d0410274 100644 --- a/src/gui/painting/qdrawhelper_mips_dsp_p.h +++ b/src/gui/painting/qdrawhelper_mips_dsp_p.h @@ -57,7 +57,7 @@ QT_BEGIN_NAMESPACE #if defined(QT_COMPILER_SUPPORTS_MIPS_DSP) -extern "C" void qt_memfill32_asm_mips_dsp(quint32 *dest, quint32 value, int count); +extern "C" void qt_memfill32_asm_mips_dsp(quint32 *dest, quint32 value, qsizetype count); extern "C" void comp_func_SourceOver_asm_mips_dsp(uint *dest, const uint *src, int length, uint const_alpha); |