Fix warning about narrowing inside {}
authorOlivier Goffart <ogoffart@woboq.com>
Mon, 30 Apr 2012 12:14:11 +0000 (14:14 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Tue, 23 Apr 2013 12:42:41 +0000 (14:42 +0200)
commit500ce56eb2a3554e1f968fb1cbeaeb9bfd3e1ff8
tree329ee113841d9cb6bb4fb7fbf2e8741691b50c27
parent4b69ada361117757a1d9dfd6a9cd444fcb433edc
Fix warning about narrowing inside {}

Such as
qdialogbuttonbox.cpp:259:1: warning: narrowing conversion of
‘2147483650u’ from ‘unsigned int’ to ‘const int’ inside { }
[-Wnarrowing]

Cherry-picked from qtbase/e1d53553259e7edefb2a76712fd6a1ddc072d22d.

Change-Id: I7fa4b80cc21d5f4765c229f62ff977e7b9076e99
Reviewed-by: Samuel Rødal <samuel.rodal@digia.com>
src/gui/widgets/qdialogbuttonbox.cpp
src/opengl/gl2paintengineex/qtriangulator.cpp