Fix use of C style cast.
authorOlivier Goffart <olivier.goffart@nokia.com>
Mon, 18 Jul 2011 13:48:40 +0000 (15:48 +0200)
committerQt by Nokia <qt-info@nokia.com>
Tue, 19 Jul 2011 14:49:02 +0000 (16:49 +0200)
commit77ed8787ac9ef0f74c2ab6699af3fec434e433e5
tree1859f80811e4264266965b493776dd6a017f4b2e
parentba1b6f16ae042e5fdeb2e2c5968e1e5b1834ab88
Fix use of C style cast.

Fix the test tst_Moc::oldStyleCasts()

(The test make sure moc do not generate old C cast, by compiling the
generated code and testing for gcc warning. But if it is present in the
public header, the warning will be shown)

Change-Id: I2fd3d01e7d78639d97bea021c200afbe2caae85f
Reviewed-on: http://codereview.qt.nokia.com/1772
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
src/corelib/tools/qstring.h