From 97ea55c08fef5454476a98d01a4cee818dfba9fe Mon Sep 17 00:00:00 2001 From: lltcggie Date: Fri, 5 Jun 2015 01:41:58 +0900 Subject: [PATCH] =?UTF-8?q?=5F=5Fstdcall=E3=81=AE=E4=BD=8D=E7=BD=AE?= =?UTF-8?q?=E3=81=8C=E9=96=93=E9=81=95=E3=81=A3=E3=81=A6=E3=81=84=E3=81=9F?= =?UTF-8?q?=E3=81=AE=E3=82=92=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common/waifu2x.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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");