Commit 92892873 authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

include: Use ULONG instead of unsigned long in ipexport.h.

Fix also the compiler warnings introduced by this change.
parent f2df415a
...@@ -492,7 +492,7 @@ DWORD WINAPI IcmpSendEcho2( ...@@ -492,7 +492,7 @@ DWORD WINAPI IcmpSendEcho2(
DWORD Timeout DWORD Timeout
) )
{ {
TRACE("(%p, %p, %p, %p, %08lx, %p, %d, %p, %p, %d, %d): stub\n", IcmpHandle, TRACE("(%p, %p, %p, %p, %08x, %p, %d, %p, %p, %d, %d): stub\n", IcmpHandle,
Event, ApcRoutine, ApcContext, DestinationAddress, RequestData, Event, ApcRoutine, ApcContext, DestinationAddress, RequestData,
RequestSize, RequestOptions, ReplyBuffer, ReplySize, Timeout); RequestSize, RequestOptions, ReplyBuffer, ReplySize, Timeout);
......
...@@ -1550,7 +1550,7 @@ DWORD WINAPI GetPerAdapterInfo(ULONG IfIndex, PIP_PER_ADAPTER_INFO pPerAdapterIn ...@@ -1550,7 +1550,7 @@ DWORD WINAPI GetPerAdapterInfo(ULONG IfIndex, PIP_PER_ADAPTER_INFO pPerAdapterIn
*/ */
BOOL WINAPI GetRTTAndHopCount(IPAddr DestIpAddress, PULONG HopCount, ULONG MaxHops, PULONG RTT) BOOL WINAPI GetRTTAndHopCount(IPAddr DestIpAddress, PULONG HopCount, ULONG MaxHops, PULONG RTT)
{ {
FIXME("(DestIpAddress 0x%08lx, HopCount %p, MaxHops %d, RTT %p): stub\n", FIXME("(DestIpAddress 0x%08x, HopCount %p, MaxHops %d, RTT %p): stub\n",
DestIpAddress, HopCount, MaxHops, RTT); DestIpAddress, HopCount, MaxHops, RTT);
return FALSE; return FALSE;
} }
...@@ -1880,7 +1880,7 @@ DWORD WINAPI NotifyRouteChange(PHANDLE Handle, LPOVERLAPPED overlapped) ...@@ -1880,7 +1880,7 @@ DWORD WINAPI NotifyRouteChange(PHANDLE Handle, LPOVERLAPPED overlapped)
*/ */
DWORD WINAPI SendARP(IPAddr DestIP, IPAddr SrcIP, PULONG pMacAddr, PULONG PhyAddrLen) DWORD WINAPI SendARP(IPAddr DestIP, IPAddr SrcIP, PULONG pMacAddr, PULONG PhyAddrLen)
{ {
FIXME("(DestIP 0x%08lx, SrcIP 0x%08lx, pMacAddr %p, PhyAddrLen %p): stub\n", FIXME("(DestIP 0x%08x, SrcIP 0x%08x, pMacAddr %p, PhyAddrLen %p): stub\n",
DestIP, SrcIP, pMacAddr, PhyAddrLen); DestIP, SrcIP, pMacAddr, PhyAddrLen);
return ERROR_NOT_SUPPORTED; return ERROR_NOT_SUPPORTED;
} }
......
...@@ -21,9 +21,9 @@ ...@@ -21,9 +21,9 @@
#ifndef __WINE_IPEXPORT_H #ifndef __WINE_IPEXPORT_H
#define __WINE_IPEXPORT_H #define __WINE_IPEXPORT_H
typedef unsigned long IPAddr; typedef ULONG IPAddr;
typedef unsigned long IPMask; typedef ULONG IPMask;
typedef unsigned long IP_STATUS; typedef ULONG IP_STATUS;
struct ip_option_information struct ip_option_information
{ {
...@@ -51,8 +51,8 @@ struct ip_option_information ...@@ -51,8 +51,8 @@ struct ip_option_information
struct icmp_echo_reply struct icmp_echo_reply
{ {
IPAddr Address; IPAddr Address;
unsigned long Status; ULONG Status;
unsigned long RoundTripTime; ULONG RoundTripTime;
unsigned short DataSize; unsigned short DataSize;
unsigned short Reserved; unsigned short Reserved;
void* Data; void* Data;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment