lsteamclient: Build with long types.

This commit is contained in:
Rémi Bernon 2025-01-17 01:31:57 +01:00 committed by Arkadiusz Hiler
parent 23fc5458da
commit d3e44f677f
2 changed files with 3 additions and 3 deletions

View File

@ -2,7 +2,7 @@ MODULE = lsteamclient.dll
UNIXLIB = lsteamclient.so UNIXLIB = lsteamclient.so
IMPORTS = user32 ws2_32 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 = \ SOURCES = \
steam_input_manual.c \ steam_input_manual.c \

View File

@ -54,7 +54,7 @@ static BOOL wsa_initialized;
BOOL WINAPI DllMain(HINSTANCE instance, DWORD reason, void *reserved) 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) switch (reason)
{ {
@ -158,7 +158,7 @@ static void *get_mem_from_steamclient_dll(size_t size, unsigned int version, voi
if (!(mod = GetModuleHandleW(steamclientW))) if (!(mod = GetModuleHandleW(steamclientW)))
{ {
/* That is steamclient64.dll for x64 but no known use cases on x64.*/ /* 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; alloc_base = error_ptr;
return NULL; return NULL;
} }