egl: Fix warning in eglgears
authorJakob Bornecrantz <jakob@tungstengraphics.com>
Tue, 27 May 2008 23:17:28 +0000 (01:17 +0200)
committerJakob Bornecrantz <jakob@aurora.(none)>
Wed, 28 May 2008 09:17:14 +0000 (11:17 +0200)
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)) {