EGLNativeWindowType can be a lot of different things, including a pointer which an XID is not. Explicitly cast it through uintptr_t so we don't throw build warnings either way. Signed-off-by: Daniel Stone <daniels@collabora.com>