From a4a4f5a822c7926c653a89c5f5548ac69003e78d Mon Sep 17 00:00:00 2001 From: Joshua Ashton Date: Wed, 19 Jun 2019 17:35:42 +0100 Subject: [PATCH] [util] Correct return value of SetThreadDescription --- src/util/util_env.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/util_env.cpp b/src/util/util_env.cpp index 0a9ca60f..afd2a650 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");