Fix cast for qeglfshooks_kms

Fix cast for qeglfshooks_kms

Change-Id: Ibfc0c486d252a047e66cbd5bbe08375b994f1eb4
Reviewed-by: Louai Al-Khanji <louai.al-khanji@digia.com>
This commit is contained in:
Risto Avila 2014-10-16 14:30:38 +03:00
parent dae22ebfe4
commit 5701583891

View File

@ -245,7 +245,7 @@ void QEglKmsHooks::platformDestroy()
EGLNativeDisplayType QEglKmsHooks::platformDisplay() const
{
Q_ASSERT(m_device);
return static_cast<EGLNativeDisplayType>(m_device->device());
return reinterpret_cast<EGLNativeDisplayType>(m_device->device());
}
void QEglKmsHooks::screenInit()