egl: Fix warning in eglgears
[mesa.git] / progs / egl / eglgears.c
index 5a79c00b4ccd6838641dbeffd3ae245bf7ebabf7..a004cb7e8697a4774cd7873e426e985dc7493c1f 100644 (file)
@@ -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)) {