Eric Pouech : netcfgx: Enable compilation with long types.
Alexandre Julliard
julliard at winehq.org
Wed Feb 16 15:30:22 CST 2022
Module: wine
Branch: master
Commit: 4f308b2b0453e07068051e1d34585e94268bd20e
URL: https://source.winehq.org/git/wine.git/?a=commit;h=4f308b2b0453e07068051e1d34585e94268bd20e
Author: Eric Pouech <eric.pouech at gmail.com>
Date: Wed Feb 16 08:11:10 2022 +0100
netcfgx: Enable compilation with long types.
Signed-off-by: Eric Pouech <eric.pouech at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
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-cvs
mailing list