aboutsummaryrefslogtreecommitdiffstats
path: root/src/3rdparty
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2018-12-11 22:10:57 -0800
committerThiago Macieira <thiago.macieira@intel.com>2018-12-12 16:20:20 +0000
commitcf5da3e8e235331c4929f236a1966bbd0cf28256 (patch)
treef2658644b28c58e6352a38e2a0c8bbcf5c84fb25 /src/3rdparty
parentcb5e61c5f0b912c798791adcc3a35e6083294782 (diff)
Fix ICC change-of-sign warnings
error #68: integer conversion resulted in a change of sign Change-Id: I4ac1156702324f0fb814fffd156f81056d117bcb Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'src/3rdparty')
-rw-r--r--src/3rdparty/masm/yarr/YarrJIT.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/3rdparty/masm/yarr/YarrJIT.cpp b/src/3rdparty/masm/yarr/YarrJIT.cpp
index 9a9ab581e8..0655bb0a70 100644
--- a/src/3rdparty/masm/yarr/YarrJIT.cpp
+++ b/src/3rdparty/masm/yarr/YarrJIT.cpp
@@ -640,7 +640,7 @@ class YarrGenerator : private DefaultMacroAssembler {
subPtr(Imm32(callFrameSizeInBytes), stackPointerRegister);
if (callFrameSizeInBytes <= 128) {
for (unsigned offset = 0; offset < callFrameSizeInBytes; offset += sizeof(intptr_t))
- storePtr(TrustedImmPtr(0), Address(regT0, -8 - offset));
+ storePtr(TrustedImmPtr(0), Address(regT0, -8 - int(offset)));
} else {
Label zeroLoop = label();
subPtr(TrustedImm32(sizeof(intptr_t) * 2), regT0);