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:
parent
f4b504c476
commit
38e24ecd64
1 changed files with 1 additions and 1 deletions
|
@ -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()) {
|
||||
|
|
Loading…
Reference in a new issue