diff --git a/gfx/common/egl_common.c b/gfx/common/egl_common.c index 1e121b72e7..67a4bf57a1 100644 --- a/gfx/common/egl_common.c +++ b/gfx/common/egl_common.c @@ -55,7 +55,7 @@ gfx_ctx_proc_t egl_get_proc_address(const char *symbol) retro_assert(sizeof(void*) == sizeof(void (*)(void))); - sym__ = eglGetProcAddress(symbol); + sym__ = (void*)eglGetProcAddress(symbol); memcpy(&ret, &sym__, sizeof(void*)); return ret;