diff options
author | Thierry Bastian <thierry.bastian@nokia.com> | 2009-09-02 14:23:44 (GMT) |
---|---|---|
committer | Thierry Bastian <thierry.bastian@nokia.com> | 2009-09-02 14:24:35 (GMT) |
commit | 0f06310ad141fb3705cb5180db700aa82a155287 (patch) | |
tree | dbd32a3abecbe2189b1cb6271a8730f0f2e5c204 /src/gui/painting/qdrawhelper_sse2.cpp | |
parent | 9b7b54f72278249984565d67ebac6b2700c3d002 (diff) | |
download | Qt-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.cpp | 2 |
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, |