[PATCH 05/21] dlls/netcfgx: enable compilation with long types
Eric Pouech
eric.pouech at gmail.com
Wed Feb 16 01:11:10 CST 2022
Signed-off-by: Eric Pouech <eric.pouech at gmail.com>
---
dlls/netcfgx/Makefile.in | 1 -
dlls/netcfgx/main.c | 2 +-
dlls/netcfgx/netcfg.c | 6 +++---
3 files changed, 4 insertions(+), 5 deletions(-)
diff --git a/dlls/netcfgx/Makefile.in b/dlls/netcfgx/Makefile.in
index 127110f8b05..7d4b3b5a203 100644
--- a/dlls/netcfgx/Makefile.in
+++ b/dlls/netcfgx/Makefile.in
@@ -1,4 +1,3 @@
-EXTRADEFS = -DWINE_NO_LONG_TYPES
MODULE = netcfgx.dll
IMPORTS = uuid
diff --git a/dlls/netcfgx/main.c b/dlls/netcfgx/main.c
index f8ca2b9c594..d3dcf4a73e3 100644
--- a/dlls/netcfgx/main.c
+++ b/dlls/netcfgx/main.c
@@ -98,7 +98,7 @@ static HRESULT WINAPI netcfgcf_CreateInstance(IClassFactory *iface,LPUNKNOWN pOu
}
else
{
- WARN("Cannot create an instance object. 0x%08x\n", hr);
+ WARN("Cannot create an instance object. 0x%08lx\n", hr);
}
return hr;
}
diff --git a/dlls/netcfgx/netcfg.c b/dlls/netcfgx/netcfg.c
index 90bfe750d68..c64c248609f 100644
--- a/dlls/netcfgx/netcfg.c
+++ b/dlls/netcfgx/netcfg.c
@@ -75,7 +75,7 @@ static ULONG WINAPI netcfg_AddRef(INetCfg *iface)
NetConfiguration *This = impl_from_INetCfg(iface);
ULONG ref = InterlockedIncrement(&This->ref);
- TRACE("%p ref=%u\n", This, ref);
+ TRACE("%p ref=%lu\n", This, ref);
return ref;
}
@@ -85,7 +85,7 @@ static ULONG WINAPI netcfg_Release(INetCfg *iface)
NetConfiguration *This = impl_from_INetCfg(iface);
ULONG ref = InterlockedDecrement(&This->ref);
- TRACE("%p ref=%u\n", This, ref);
+ TRACE("%p ref=%lu\n", This, ref);
if (ref == 0)
{
@@ -190,7 +190,7 @@ static HRESULT WINAPI netcfglock_AcquireWriteLock(INetCfgLock *iface, DWORD cmsT
LPCWSTR pszwClientDescription, LPWSTR *ppszwClientDescription)
{
NetConfiguration *This = impl_from_INetCfgLock(iface);
- FIXME("%p %d %s %p\n", This, cmsTimeout, debugstr_w(pszwClientDescription), ppszwClientDescription);
+ FIXME("%p %ld %s %p\n", This, cmsTimeout, debugstr_w(pszwClientDescription), ppszwClientDescription);
return S_OK;
}
More information about the wine-devel
mailing list