summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJakob Bornecrantz <[email protected]>2008-05-28 01:17:28 +0200
committerJakob Bornecrantz <jakob@aurora.(none)>2008-05-28 11:17:14 +0200
commit3e867959e92dea55f963841b2dc03d323e2f8188 (patch)
treea9dd67d294f838fec1fedc974c652c973352f606
parentd8a693ee49ab2c5699a12f8595be8b8606971dbd (diff)
egl: Fix warning in eglgears
-rw-r--r--progs/egl/eglgears.c2
1 files changed, 1 insertions, 1 deletions
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)) {