From eb7a79f60a53d84069e9f477e3d58fbac1d27206 Mon Sep 17 00:00:00 2001 From: Eric Pouech Date: Wed, 9 Feb 2022 09:26:33 +0100 Subject: [PATCH] dhcpcsvc: Enable compilation with long types. Signed-off-by: Eric Pouech Signed-off-by: Alexandre Julliard --- dlls/dhcpcsvc/Makefile.in | 1 - dlls/dhcpcsvc/dhcpcsvc.c | 6 +++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/dlls/dhcpcsvc/Makefile.in b/dlls/dhcpcsvc/Makefile.in index 34add6620d1..989264d8b43 100644 --- a/dlls/dhcpcsvc/Makefile.in +++ b/dlls/dhcpcsvc/Makefile.in @@ -1,4 +1,3 @@ -EXTRADEFS = -DWINE_NO_LONG_TYPES MODULE = dhcpcsvc.dll DELAYIMPORTS = iphlpapi IMPORTLIB = dhcpcsvc diff --git a/dlls/dhcpcsvc/dhcpcsvc.c b/dlls/dhcpcsvc/dhcpcsvc.c index dfce5a8dc84..57bb9a9b6ff 100644 --- a/dlls/dhcpcsvc/dhcpcsvc.c +++ b/dlls/dhcpcsvc/dhcpcsvc.c @@ -87,15 +87,15 @@ DWORD WINAPI DhcpRequestParams( DWORD flags, void *reserved, WCHAR *adapter, DHC HANDLE mgr; char unix_name[IF_NAMESIZE]; - TRACE( "(%08x, %p, %s, %p, %u, %u, %p, %p, %s)\n", flags, reserved, debugstr_w(adapter), class_id, + TRACE( "(%08lx, %p, %s, %p, %lu, %lu, %p, %p, %s)\n", flags, reserved, debugstr_w(adapter), class_id, send_params.nParams, recv_params.nParams, buf, buflen, debugstr_w(request_id) ); if (!adapter || !buflen) return ERROR_INVALID_PARAMETER; - if (flags != DHCPCAPI_REQUEST_SYNCHRONOUS) FIXME( "unsupported flags %08x\n", flags ); + if (flags != DHCPCAPI_REQUEST_SYNCHRONOUS) FIXME( "unsupported flags %08lx\n", flags ); if ((err = get_adapter_name( adapter, unix_name, sizeof(unix_name) ))) return err; for (i = 0; i < send_params.nParams; i++) - FIXME( "send option %u not supported\n", send_params.Params->OptionId ); + FIXME( "send option %lu not supported\n", send_params.Params->OptionId ); mgr = CreateFileW( MOUNTMGR_DOS_DEVICE_NAME, GENERIC_READ|GENERIC_WRITE, FILE_SHARE_READ|FILE_SHARE_WRITE, NULL, OPEN_EXISTING, 0, 0 );