From d3dbfba8bcdd5b372f4d37110eaaeb08d64c3a7a Mon Sep 17 00:00:00 2001 From: twinaphex Date: Fri, 9 Oct 2020 20:19:34 +0200 Subject: [PATCH] Avoid CXX_BUILD warning --- retroarch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/retroarch.c b/retroarch.c index d1424ff135..29cec4999b 100644 --- a/retroarch.c +++ b/retroarch.c @@ -31707,7 +31707,7 @@ const char *video_driver_get_ident(void) #ifdef HAVE_THREADS if (VIDEO_DRIVER_IS_THREADED_INTERNAL()) { - const thread_video_t *thr = VIDEO_DRIVER_GET_PTR_INTERNAL(true); + const thread_video_t *thr = (const thread_video_t*)VIDEO_DRIVER_GET_PTR_INTERNAL(true); if (!thr || !thr->driver) return NULL; return thr->driver->ident;