diff options
author | Harri Porten <porten@froglogic.com> | 2013-10-14 16:49:07 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-10-15 00:06:54 +0200 |
commit | 2c7ad71adbdb00924b3d7797339dbcf8d6d86479 (patch) | |
tree | 1578002f7ed5c2f3e1d0fb7b4905e21a5b88476d /src/corelib/io | |
parent | 4c8f194adee41d954bae4bb1c62b3a2591d86630 (diff) |
Fixed narrowing conversion compile error with SwizzleValue cast.
I got the following compile error with gcc 4.7.0:
error: narrowing conversion of ‘r’ from ‘QOpenGLTexture::SwizzleValue’ to
‘GLint {aka int}’ inside { } [-Werror=narrowing]
The compiler must being going through the route of treating the enum
as an unsigned int and thus choking on the conversion to a signed int.
Change-Id: I35c15673d0371c69984bdec80622066f792527ba
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/io')
0 files changed, 0 insertions, 0 deletions