summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@nokia.com>2010-11-26 19:28:23 (GMT)
committerThiago Macieira <thiago.macieira@nokia.com>2010-11-26 21:02:27 (GMT)
commit3251c5023c184466e8199c8999aa6e332eb98534 (patch)
tree71b306124f532d7080620264c5f96f23c1c92c81 /src
parent20da7afb4c575001b7373554ebf7e7fb434a2942 (diff)
downloadQt-3251c5023c184466e8199c8999aa6e332eb98534.zip
Qt-3251c5023c184466e8199c8999aa6e332eb98534.tar.gz
Qt-3251c5023c184466e8199c8999aa6e332eb98534.tar.bz2
Fix warning about %x parameter type mismatch in EGL
Diffstat (limited to 'src')
-rw-r--r--src/opengl/qgl_x11egl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/opengl/qgl_x11egl.cpp b/src/opengl/qgl_x11egl.cpp
index 144d140..75dd1b6 100644
--- a/src/opengl/qgl_x11egl.cpp
+++ b/src/opengl/qgl_x11egl.cpp
@@ -345,7 +345,7 @@ void QGLWidgetPrivate::recreateEglSurface()
// old surface before re-creating a new one. Note: This should not be the case as the
// surface should be deleted before the old window id.
if (glcx->d_func()->eglSurface != EGL_NO_SURFACE && (currentId != eglSurfaceWindowId)) {
- qWarning("EGL surface for deleted window %x was not destroyed", eglSurfaceWindowId);
+ qWarning("EGL surface for deleted window %x was not destroyed", uint(eglSurfaceWindowId));
glcx->d_func()->destroyEglSurfaceForDevice();
}