netprofm: 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:
Eric Pouech 2022-02-16 08:11:22 +01:00 committed by Alexandre Julliard
parent f793d17ccc
commit 228579ec30
2 changed files with 5 additions and 6 deletions

View File

@ -1,4 +1,3 @@
EXTRADEFS = -DWINE_NO_LONG_TYPES
MODULE = netprofm.dll
IMPORTS = iphlpapi

View File

@ -226,7 +226,7 @@ static HRESULT WINAPI connection_point_Unadvise(
struct connection_point *cp = impl_from_IConnectionPoint( iface );
struct sink_entry *iter;
TRACE( "%p, %d\n", cp, cookie );
TRACE( "%p, %ld\n", cp, cookie );
LIST_FOR_EACH_ENTRY( iter, &cp->sinks, struct sink_entry, entry )
{
@ -779,7 +779,7 @@ static HRESULT WINAPI networks_enum_Next(
struct networks_enum *iter = impl_from_IEnumNetworks( iface );
ULONG i = 0;
TRACE( "%p, %u %p %p\n", iter, count, ret, fetched );
TRACE( "%p, %lu %p %p\n", iter, count, ret, fetched );
if (fetched) *fetched = 0;
if (!count) return S_OK;
@ -802,7 +802,7 @@ static HRESULT WINAPI networks_enum_Skip(
{
struct networks_enum *iter = impl_from_IEnumNetworks( iface );
TRACE( "%p, %u\n", iter, count);
TRACE( "%p, %lu\n", iter, count);
if (!count) return S_OK;
if (!iter->cursor) return S_FALSE;
@ -999,7 +999,7 @@ static HRESULT WINAPI connections_enum_Next(
struct connections_enum *iter = impl_from_IEnumNetworkConnections( iface );
ULONG i = 0;
TRACE( "%p, %u %p %p\n", iter, count, ret, fetched );
TRACE( "%p, %lu %p %p\n", iter, count, ret, fetched );
if (!ret) return E_POINTER;
*ret = NULL;
@ -1024,7 +1024,7 @@ static HRESULT WINAPI connections_enum_Skip(
{
struct connections_enum *iter = impl_from_IEnumNetworkConnections( iface );
TRACE( "%p, %u\n", iter, count);
TRACE( "%p, %lu\n", iter, count);
if (!count) return S_OK;
if (!iter->cursor) return S_FALSE;