1 diff --git a/ivi-layermanagement-examples/EGLWLMockNavigation/src/OpenGLES2App.cpp b/ivi-layermanagement-examples/EGLWLMockNavigation/src/OpenGLES2App.cpp
2 index 2e65864..e14dbc0 100644
3 --- a/ivi-layermanagement-examples/EGLWLMockNavigation/src/OpenGLES2App.cpp
4 +++ b/ivi-layermanagement-examples/EGLWLMockNavigation/src/OpenGLES2App.cpp
5 @@ -244,7 +247,7 @@ bool OpenGLES2App::createEGLContext()
6 m_eglContextStruct.eglSurface = NULL;
7 m_eglContextStruct.eglContext = NULL;
9 - m_eglContextStruct.eglDisplay = eglGetDisplay(m_wlContextStruct.wlDisplay);
10 + m_eglContextStruct.eglDisplay = eglGetDisplay((EGLNativeDisplayType)m_wlContextStruct.wlDisplay);
11 eglstatus = eglGetError();
12 if (!m_eglContextStruct.eglDisplay)