From 3e867959e92dea55f963841b2dc03d323e2f8188 Mon Sep 17 00:00:00 2001 From: Jakob Bornecrantz Date: Wed, 28 May 2008 01:17:28 +0200 Subject: [PATCH] egl: Fix warning in eglgears --- progs/egl/eglgears.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/progs/egl/eglgears.c b/progs/egl/eglgears.c index 5a79c00b4cc..a004cb7e869 100644 --- a/progs/egl/eglgears.c +++ b/progs/egl/eglgears.c @@ -388,7 +388,7 @@ main(int argc, char *argv[]) } /* DBR : Create EGL context/surface etc */ - d = eglGetDisplay("!EGL_i915"); + d = eglGetDisplay((EGLNativeDisplayType)"!EGL_i915"); assert(d); if (!eglInitialize(d, &maj, &min)) { -- 2.30.2