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:
parent
3abb6f1fef
commit
7eacaf51f8
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user