From 4e0905bd4811279a92a086b51cf529b248c7eee7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Bernon?= Date: Tue, 26 Sep 2023 22:06:53 +0200 Subject: [PATCH] steam.exe: Fix compilation warnings. CW-Bug-Id: #22729 --- steam_helper/steam.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/steam_helper/steam.cpp b/steam_helper/steam.cpp index 71d494f1..4700a1af 100644 --- a/steam_helper/steam.cpp +++ b/steam_helper/steam.cpp @@ -717,7 +717,7 @@ static DWORD WINAPI initialize_vr_data(void *arg) if (!(vrclient_VRClientCoreFactory = reinterpret_cast (dlsym(lib_vrclient, "VRClientCoreFactory")))) { - WINE_ERR("Could not find function %s.\n", vrclient_VRClientCoreFactory); + WINE_ERR("Could not find function VRClientCoreFactory.\n"); goto done; } if (!(client_core = vrclient_VRClientCoreFactory(vr::IVRClientCore_Version, &return_code))) @@ -794,7 +794,7 @@ static DWORD WINAPI initialize_vr_data(void *arg) (dlsym(unix_handle, "__wine_get_native_VkPhysicalDevice")); dlclose(unix_handle); - if (!__wine_get_native_VkPhysicalDevice) + if (!p__wine_get_native_VkPhysicalDevice) { WINE_ERR("__wine_get_native_VkPhysicalDevice not found.\n"); goto done; @@ -1367,7 +1367,7 @@ static BOOL steam_command_handler(int argc, char *argv[]) WINE_ERR("Forwarding"); for (i = 0; i < argc; ++i) WINE_ERR(" %s", wine_dbgstr_a(argv[i])); - WINE_ERR(" to native steam failed, status %#lx.\n", status); + WINE_ERR(" to native steam failed, status %#x.\n", status); } return TRUE; }