From d3e44f677f3001b5b50b4221111ff854afff987a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Bernon?= Date: Fri, 17 Jan 2025 01:31:57 +0100 Subject: [PATCH] lsteamclient: Build with long types. --- lsteamclient/Makefile.in | 2 +- lsteamclient/steamclient_main.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lsteamclient/Makefile.in b/lsteamclient/Makefile.in index f63dfca4..7160fd32 100644 --- a/lsteamclient/Makefile.in +++ b/lsteamclient/Makefile.in @@ -2,7 +2,7 @@ MODULE = lsteamclient.dll UNIXLIB = lsteamclient.so IMPORTS = user32 ws2_32 -EXTRADEFS = -DWINE_NO_LONG_TYPES -DSTEAM_API_EXPORTS -Dprivate=public -Dprotected=public +EXTRADEFS = -DSTEAM_API_EXPORTS -Dprivate=public -Dprotected=public SOURCES = \ steam_input_manual.c \ diff --git a/lsteamclient/steamclient_main.c b/lsteamclient/steamclient_main.c index 53d5f969..7c88bc13 100644 --- a/lsteamclient/steamclient_main.c +++ b/lsteamclient/steamclient_main.c @@ -54,7 +54,7 @@ static BOOL wsa_initialized; BOOL WINAPI DllMain(HINSTANCE instance, DWORD reason, void *reserved) { - TRACE("(%p, %u, %p)\n", instance, reason, reserved); + TRACE("(%p, %lu, %p)\n", instance, reason, reserved); switch (reason) { @@ -158,7 +158,7 @@ static void *get_mem_from_steamclient_dll(size_t size, unsigned int version, voi if (!(mod = GetModuleHandleW(steamclientW))) { /* That is steamclient64.dll for x64 but no known use cases on x64.*/ - WARN("Module not found, err %u.\n", GetLastError()); + WARN("Module not found, err %lu.\n", GetLastError()); alloc_base = error_ptr; return NULL; }