Silence a warning about a change of sign.
authorThiago Macieira <thiago.macieira@intel.com>
Fri, 30 Dec 2011 16:54:43 +0000 (14:54 -0200)
committerQt by Nokia <qt-info@nokia.com>
Sat, 24 Mar 2012 14:10:00 +0000 (15:10 +0100)
commitf49f94434e082657f2227292c15cad20493f112c
tree5137e58d25bf84cd3585e3fd3f53938f259f565f
parentb8625fd70e4ff194a52d52144bf77aff05b9b093
Silence a warning about a change of sign.

GLuint is, like the name says, unsigned. To store -1 in it, a change
of sign happens. Silence the warning by casting the -1 to GLuint
first.

Change-Id: I165a32c486358a60f7c5fd0c439204ed2f9f7f16
Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
src/gui/opengl/qopenglpaintengine_p.h