From 2b8c1028d8859d391a2c0edf08d044dfead7b3ff Mon Sep 17 00:00:00 2001
From: Andras Becsi <andras.becsi@theqtcompany.com>
Date: Thu, 7 May 2015 14:09:47 +0200
Subject: [PATCH] colibri-vf: Fix EGLNative* typedefs to have a signed type

Chromium expects a signed type, and all other platforms also define
a signed type, like Display*, HDC, int, ANativeWindow*, void*.
This is a cherry-picked fix from qtglesstream to fix the QtWebEngine
build for colibri-vf.

Change-Id: I01d5a65b2e7512ebdc383501eacae1349a271039
Reviewed-by: Samuli Piippo <samuli.piippo@theqtcompany.com>
---
 recipes/opengldummy/files/headers/EGL/eglplatform.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/recipes/opengldummy/files/headers/EGL/eglplatform.h b/recipes/opengldummy/files/headers/EGL/eglplatform.h
index bcbda981..572c7d5a 100644
--- a/recipes/opengldummy/files/headers/EGL/eglplatform.h
+++ b/recipes/opengldummy/files/headers/EGL/eglplatform.h
@@ -105,9 +105,9 @@ typedef void*                           EGLNativeDisplayType;
 #if 1
 
 /* QtGlesStream */
-typedef unsigned int EGLNativeDisplayType;
-typedef unsigned int EGLNativeWindowType;
-typedef unsigned int EGLNativePixmapType;
+typedef intptr_t EGLNativeDisplayType;
+typedef intptr_t EGLNativeWindowType;
+typedef intptr_t EGLNativePixmapType;
 
 #else
 
-- 
GitLab