diff --git a/src/util/util_env.cpp b/src/util/util_env.cpp index 0a9ca60fd..afd2a6507 100644 --- a/src/util/util_env.cpp +++ b/src/util/util_env.cpp @@ -29,7 +29,7 @@ namespace dxvk::env { void setThreadName(const std::string& name) { - using SetThreadDescriptionProc = void (WINAPI *) (HANDLE, PCWSTR); + using SetThreadDescriptionProc = HRESULT (WINAPI *) (HANDLE, PCWSTR); HMODULE module = ::GetModuleHandleW(L"kernel32.dll");