mirror of
https://github.com/mpv-player/mpv.git
synced 2025-12-28 05:33:14 +00:00
vo_opengl/cuda_dynamic: Use explicit cast to silence warnings on windows
Fixes #3834
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user