Build fix for tst_qprinter with c++11
authorJędrzej Nowacki <jedrzej.nowacki@nokia.com>
Thu, 22 Dec 2011 14:44:28 +0000 (15:44 +0100)
committerQt by Nokia <qt-info@nokia.com>
Sun, 25 Dec 2011 19:16:55 +0000 (20:16 +0100)
commitfe089823bc36b7c1ea333cd57fb74541bafba1e4
tree918afed46d7a3915db08ce2c8da9002a6cd5f168
parent03b6cb93455475c7e36838e298cefa6f91c1eb6f
Build fix for tst_qprinter with c++11

GCC 4.6 fails to build the test because of narrowing conversion.

Change-Id: I927693789be7f3df7bd1a96c8924fc04716a03f0
Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
tests/auto/gui/painting/qprinter/tst_qprinter.cpp