From ad745a5661f0030955d373cb7448c58b519aea92 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Higor=20Eur=C3=ADpedes?= Date: Thu, 19 Nov 2015 10:04:18 -0300 Subject: [PATCH] (egl_common) Fix clang warnings --- gfx/common/egl_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;