diff options
author | Raphael Kubo da Costa <rakuco@FreeBSD.org> | 2013-04-07 19:53:25 +0300 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-04-23 14:42:38 +0200 |
commit | 4b69ada361117757a1d9dfd6a9cd444fcb433edc (patch) | |
tree | 62270037d3e186bd16f2989135ceeb8b2453b291 /src/opengl/gl2paintengineex/qtriangulator.cpp | |
parent | e36e83b5e65a703058ec5a4e4418fe6a49d73e2c (diff) | |
download | qt4-tools-4b69ada361117757a1d9dfd6a9cd444fcb433edc.tar.gz |
Fix C++11 narrowing error.
src/opengl/qgl_x11.cpp:1805:21: error: non-constant-expression cannot be
narrowed from type 'unsigned int' to 'int' in initializer list
[-Wc++11-narrowing]
0x20D4, options & QGLContext::CanFlipNativePixmapBindOption ? 0xFFFFFFFF : 0,
Simply add an explicit cast to the expression to make it build with libc++.
No cherry-pick, this file does not exist in qt5.
Change-Id: Ic2fc636fc21a87dae848c062acb048e4a623a1f2
Reviewed-by: Samuel Rødal <samuel.rodal@digia.com>
Diffstat (limited to 'src/opengl/gl2paintengineex/qtriangulator.cpp')
0 files changed, 0 insertions, 0 deletions