Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
445567ea
Commit
445567ea
authored
Apr 29, 2009
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ws2_32: Use SIZE_T instead of size_t for inet_ntop argument.
parent
5b428fe5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
socket.c
dlls/ws2_32/socket.c
+2
-2
ws2tcpip.h
include/ws2tcpip.h
+2
-2
No files found.
dlls/ws2_32/socket.c
View file @
445567ea
...
...
@@ -4695,13 +4695,13 @@ int WINAPI WSARemoveServiceClass(LPGUID info)
/***********************************************************************
* inet_ntop (WS2_32.@)
*/
PCSTR
WINAPI
WS_inet_ntop
(
INT
family
,
PVOID
addr
,
PSTR
buffer
,
size_t
len
)
PCSTR
WINAPI
WS_inet_ntop
(
INT
family
,
PVOID
addr
,
PSTR
buffer
,
SIZE_T
len
)
{
#ifdef HAVE_INET_NTOP
struct
WS_in6_addr
*
in6
;
struct
WS_in_addr
*
in
;
TRACE
(
"family %d, addr (%p), buffer (%p), len %d
\n
"
,
family
,
addr
,
buffer
,
len
);
TRACE
(
"family %d, addr (%p), buffer (%p), len %
l
d
\n
"
,
family
,
addr
,
buffer
,
len
);
switch
(
family
)
{
case
WS_AF_INET
:
...
...
include/ws2tcpip.h
View file @
445567ea
...
...
@@ -161,9 +161,9 @@ int WINAPI WS(getnameinfo)(const SOCKADDR*,WS(socklen_t),PCHAR,DWORD,PCHAR,DWOR
#define GetNameInfoA WS(getnameinfo)
INT
WINAPI
GetNameInfoW
(
const
SOCKADDR
*
,
WS
(
socklen_t
),
PWCHAR
,
DWORD
,
PWCHAR
,
DWORD
,
INT
);
#define GetNameInfo WINELIB_NAME_AW(GetNameInfo)
PCSTR
WINAPI
WS
(
inet_ntop
)(
INT
,
PVOID
,
PSTR
,
size_t
);
PCSTR
WINAPI
WS
(
inet_ntop
)(
INT
,
PVOID
,
PSTR
,
SIZE_T
);
#define InetNtopA WS(inet_ntop)
PCWSTR
WINAPI
InetNtopW
(
INT
,
PVOID
,
PWSTR
,
size_t
);
PCWSTR
WINAPI
InetNtopW
(
INT
,
PVOID
,
PWSTR
,
SIZE_T
);
#define InetNtop WINELIB_NAME_AW(InetNtop)
int
WINAPI
WS
(
inet_pton
)(
INT
,
PCSTR
,
PVOID
);
#define InetPtonA WS(inet_pton)
...
...
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