Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
92892873
Commit
92892873
authored
Jan 06, 2009
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Jan 06, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Use ULONG instead of unsigned long in ipexport.h.
Fix also the compiler warnings introduced by this change.
parent
f2df415a
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
8 deletions
+8
-8
icmp.c
dlls/iphlpapi/icmp.c
+1
-1
iphlpapi_main.c
dlls/iphlpapi/iphlpapi_main.c
+2
-2
ipexport.h
include/ipexport.h
+5
-5
No files found.
dlls/iphlpapi/icmp.c
View file @
92892873
...
@@ -492,7 +492,7 @@ DWORD WINAPI IcmpSendEcho2(
...
@@ -492,7 +492,7 @@ DWORD WINAPI IcmpSendEcho2(
DWORD
Timeout
DWORD
Timeout
)
)
{
{
TRACE
(
"(%p, %p, %p, %p, %08
l
x, %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
);
...
...
dlls/iphlpapi/iphlpapi_main.c
View file @
92892873
...
@@ -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%08
l
x, 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%08
lx, SrcIP 0x%08l
x, pMacAddr %p, PhyAddrLen %p): stub
\n
"
,
FIXME
(
"(DestIP 0x%08
x, SrcIP 0x%08
x, pMacAddr %p, PhyAddrLen %p): stub
\n
"
,
DestIP
,
SrcIP
,
pMacAddr
,
PhyAddrLen
);
DestIP
,
SrcIP
,
pMacAddr
,
PhyAddrLen
);
return
ERROR_NOT_SUPPORTED
;
return
ERROR_NOT_SUPPORTED
;
}
}
...
...
include/ipexport.h
View file @
92892873
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment