summaryrefslogtreecommitdiffstats
path: root/src/egl/main/eglmode.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/egl/main/eglmode.c')
-rw-r--r--src/egl/main/eglmode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/egl/main/eglmode.c b/src/egl/main/eglmode.c
index 26ea6bd6054..f2b17a6d270 100644
--- a/src/egl/main/eglmode.c
+++ b/src/egl/main/eglmode.c
@@ -56,7 +56,7 @@ _eglLookupMode(EGLDisplay dpy, EGLModeMESA mode)
*/
_EGLMode *
_eglAddMode(_EGLScreen *screen, EGLint width, EGLint height,
- EGLint refreshRate, char *name)
+ EGLint refreshRate, const char *name)
{
EGLint n;
_EGLMode *newModes;