Fix build with 32-bit

Follow-up to 839710201c

Tested-by: David Flogeras <dflogeras2@gmail.com>
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
Andreas Sturmlechner 2021-09-15 19:06:23 +02:00
parent f4b504c476
commit 38e24ecd64
No known key found for this signature in database
GPG key ID: 444B0F96FFD22CCB

View file

@ -214,7 +214,7 @@ EGLSurface EglOnXBackend::createSurface(xcb_window_t window)
}
// Window is 64 bits on a 64-bit architecture whereas xcb_window_t is always 32 bits.
unsigned long nativeWindow = window;
uintptr_t nativeWindow = window;
EGLSurface surface = EGL_NO_SURFACE;
if (havePlatformBase()) {