Fix MSVC-warnings about unsafe bool operations in tst_qcamera.cpp.
authorFriedemann Kleint <Friedemann.Kleint@digia.com>
Fri, 24 Jan 2014 13:49:08 +0000 (14:49 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Wed, 29 Jan 2014 09:18:42 +0000 (10:18 +0100)
commit04b7e053752be754676c2ede21f70f7a8caed0a7
treea41215ce731e2acd840b39cb451bbad2c3f725b4
parent8bfd49d40fc4739be91cbe107aff9bb4c4c217af
Fix MSVC-warnings about unsafe bool operations in tst_qcamera.cpp.

qglobal.h(501) : warning C4804: '-' : unsafe use of type 'bool' in operation
global/qglobal.h(501) : warning C4800: 'int' : forcing value to bool 'true' or 'false' (performance warning)
tst_qcamera.cpp(507) : see reference to function template instantiation 'T qAbs<bool>(const T &)' being compiled

Change-Id: Ifd467b5536a0d386f592ae339129b3ebfb7b8838
Reviewed-by: Yoann Lopes <yoann.lopes@digia.com>
tests/auto/unit/qcamera/tst_qcamera.cpp