1
mirror of https://github.com/mpv-player/mpv synced 2024-10-30 04:46:41 +01:00

vo_opengl/cuda_dynamic: Use explicit cast to silence warnings on windows

Fixes #3834
This commit is contained in:
Philip Langdale 2016-11-23 15:01:17 -08:00 committed by wm4
parent 3abb6f1fef
commit 7eacaf51f8

View File

@ -49,7 +49,7 @@ static void cuda_do_load(void)
}
#define CUDA_LOAD_SYMBOL(NAME, TYPE) \
NAME = dlsym(lib, #NAME); if (!NAME) return;
NAME = (TYPE *)dlsym(lib, #NAME); if (!NAME) return;
CUDA_FNS(CUDA_LOAD_SYMBOL)