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
1 changed files with 1 additions and 1 deletions

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)