Fix MSVC warnings in tests.
authorFriedemann Kleint <Friedemann.Kleint@nokia.com>
Mon, 2 Apr 2012 12:22:04 +0000 (14:22 +0200)
committerQt by Nokia <qt-info@nokia.com>
Mon, 2 Apr 2012 14:56:48 +0000 (16:56 +0200)
commit8f2a088028cf074a08e5252509c60e0f1021c43f
treed8af228b3cf3f9c998f7a52dec50ddcce84a7af1
parentb08f74f08939be310a79b5efcb5721e35c5deb21
Fix MSVC warnings in tests.

- Unused variables
- conversion truncations
- Overflow in expressions like '-1 + sizeof()'

Change-Id: Ibbd18497951e9e7e9dccaf596cb4e864b69ec02c
Reviewed-by: Jason McDonald <jason.mcdonald@nokia.com>
15 files changed:
tests/auto/concurrent/qtconcurrentrun/tst_qtconcurrentrun.cpp
tests/auto/corelib/codecs/utf8/tst_utf8.cpp
tests/auto/corelib/io/qdir/tst_qdir.cpp
tests/auto/corelib/io/qprocess/testProcessEchoGui/main_win.cpp
tests/auto/corelib/kernel/qmetatype/tst_qmetatype.cpp
tests/auto/corelib/xml/qxmlstream/tst_qxmlstream.cpp
tests/auto/gui/kernel/qkeysequence/tst_qkeysequence.cpp
tests/auto/gui/painting/qwmatrix/tst_qwmatrix.cpp
tests/auto/gui/qopengl/tst_qopengl.cpp
tests/auto/network/socket/qudpsocket/tst_qudpsocket.cpp
tests/auto/other/networkselftest/tst_networkselftest.cpp
tests/auto/printsupport/kernel/qprinterinfo/tst_qprinterinfo.cpp
tests/auto/testlib/selftests/tst_selftests.cpp
tests/auto/widgets/graphicsview/qgraphicsview/tst_qgraphicsview.cpp
tests/shared/filesystem.h