diff --git a/common/waifu2x.cpp b/common/waifu2x.cpp index d13291b..2a243e9 100644 --- a/common/waifu2x.cpp +++ b/common/waifu2x.cpp @@ -81,9 +81,9 @@ Waifu2x::eWaifu2xcuDNNError Waifu2x::can_use_cuDNN() HMODULE hModule = LoadLibrary(TEXT("cudnn64_65.dll")); if (hModule != NULL) { - typedef cudnnStatus_t(*__stdcall cudnnCreateType)(cudnnHandle_t *); - typedef cudnnStatus_t(*__stdcall cudnnDestroyType)(cudnnHandle_t); - typedef uint64_t(*__stdcall cudnnGetVersionType)(); + typedef cudnnStatus_t(__stdcall * cudnnCreateType)(cudnnHandle_t *); + typedef cudnnStatus_t(__stdcall * cudnnDestroyType)(cudnnHandle_t); + typedef uint64_t(__stdcall * cudnnGetVersionType)(); cudnnCreateType cudnnCreateFunc = (cudnnCreateType)GetProcAddress(hModule, "cudnnCreate"); cudnnDestroyType cudnnDestroyFunc = (cudnnDestroyType)GetProcAddress(hModule, "cudnnDestroy");