netcfgx: Enable compilation with long types.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
29b016da95
commit
4f308b2b04
|
@ -1,4 +1,3 @@
|
|||
EXTRADEFS = -DWINE_NO_LONG_TYPES
|
||||
MODULE = netcfgx.dll
|
||||
IMPORTS = uuid
|
||||
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue