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
3548b251
Commit
3548b251
authored
Jul 03, 2017
by
Alistair Leslie-Hughes
Committed by
Alexandre Julliard
Jul 04, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
iphlpapi/tests: Use standard wine_dbgstr_longlong.
Signed-off-by:
Alistair Leslie-Hughes
<
leslie_alistair@hotmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
287be7c5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
12 deletions
+2
-12
iphlpapi.c
dlls/iphlpapi/tests/iphlpapi.c
+2
-12
No files found.
dlls/iphlpapi/tests/iphlpapi.c
View file @
3548b251
...
...
@@ -167,16 +167,6 @@ static const char *ntoa( DWORD ip )
return
buffer
;
}
static
inline
const
char
*
debugstr_longlong
(
ULONGLONG
ll
)
{
static
char
string
[
17
];
if
(
sizeof
(
ll
)
>
sizeof
(
unsigned
long
)
&&
ll
>>
32
)
sprintf
(
string
,
"%lx%08lx"
,
(
unsigned
long
)(
ll
>>
32
),
(
unsigned
long
)
ll
);
else
sprintf
(
string
,
"%lx"
,
(
unsigned
long
)
ll
);
return
string
;
}
/*
still-to-be-tested 98-only functions:
GetUniDirectionalAdapterInfo
...
...
@@ -1513,8 +1503,8 @@ static void test_GetAdaptersAddresses(void)
}
if
(
S
(
U
(
*
aa
)).
Length
<
sizeof
(
IP_ADAPTER_ADDRESSES_LH
))
continue
;
trace
(
"TransmitLinkSpeed: %s
\n
"
,
debu
gstr_longlong
(
aa
->
TransmitLinkSpeed
));
trace
(
"ReceiveLinkSpeed: %s
\n
"
,
debu
gstr_longlong
(
aa
->
ReceiveLinkSpeed
));
trace
(
"TransmitLinkSpeed: %s
\n
"
,
wine_db
gstr_longlong
(
aa
->
TransmitLinkSpeed
));
trace
(
"ReceiveLinkSpeed: %s
\n
"
,
wine_db
gstr_longlong
(
aa
->
ReceiveLinkSpeed
));
trace
(
"FirstWinsServerAddress:%p
\n
"
,
aa
->
FirstWinsServerAddress
);
trace
(
"FirstGatewayAddress: %p
\n
"
,
aa
->
FirstGatewayAddress
);
trace
(
"Ipv4Metric: %u
\n
"
,
aa
->
Ipv4Metric
);
...
...
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