summaryrefslogtreecommitdiffstats
path: root/src/gui/painting/qdrawhelper_sse2.cpp
diff options
context:
space:
mode:
authorThierry Bastian <thierry.bastian@nokia.com>2009-09-02 14:23:44 (GMT)
committerThierry Bastian <thierry.bastian@nokia.com>2009-09-02 14:24:35 (GMT)
commit0f06310ad141fb3705cb5180db700aa82a155287 (patch)
treedbd32a3abecbe2189b1cb6271a8730f0f2e5c204 /src/gui/painting/qdrawhelper_sse2.cpp
parent9b7b54f72278249984565d67ebac6b2700c3d002 (diff)
downloadQt-0f06310ad141fb3705cb5180db700aa82a155287.zip
Qt-0f06310ad141fb3705cb5180db700aa82a155287.tar.gz
Qt-0f06310ad141fb3705cb5180db700aa82a155287.tar.bz2
fix warnings on mingw
Diffstat (limited to 'src/gui/painting/qdrawhelper_sse2.cpp')
-rw-r--r--src/gui/painting/qdrawhelper_sse2.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/painting/qdrawhelper_sse2.cpp b/src/gui/painting/qdrawhelper_sse2.cpp
index 5e8fce5..32a8432 100644
--- a/src/gui/painting/qdrawhelper_sse2.cpp
+++ b/src/gui/painting/qdrawhelper_sse2.cpp
@@ -183,7 +183,7 @@ void qt_bitmapblit16_sse2(QRasterBuffer *rasterBuffer, int x, int y,
const int destStride = rasterBuffer->bytesPerLine() / sizeof(quint16);
const __m128i c128 = _mm_set1_epi16(c);
-#if defined(Q_OS_WIN)
+#if defined(Q_CC_MSVC)
# pragma warning(disable: 4309) // truncation of constant value
#endif
const __m128i maskmask = _mm_set_epi16(0x0101, 0x0202, 0x0404, 0x0808,