Skip to content

Commit 79f2289

Browse files
peteroochHBelusca
authored andcommitted
Fix various inet_ntop definitions
1 parent 4453711 commit 79f2289

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

dll/3rdparty/libtirpc/src/rpc_generic.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -641,7 +641,7 @@ void freenetbuf(struct netbuf *nbuf)
641641
#ifdef __REACTOS__
642642
PCSTR
643643
WSAAPI
644-
inet_ntop(INT af, PVOID src, PSTR dst, size_t cnt)
644+
inet_ntop(INT af, const VOID *src, PSTR dst, size_t cnt)
645645
{
646646
struct in_addr in;
647647
char *text_addr;

dll/win32/winhttp/inet_ntop.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ static const char *inet_ntop6(const u_char *src, char *dst, size_t size);
5454

5555
PCSTR
5656
WSAAPI
57-
inet_ntop(INT Family, PVOID pAddr, PSTR pStringBuf, size_t StringBufSize)
57+
inet_ntop(INT Family, const VOID *pAddr, PSTR pStringBuf, size_t StringBufSize)
5858
{
5959

6060
switch (Family) {

dll/win32/wininet/inet_ntop.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ PCSTR
5353
WSAAPI
5454
inet_ntop(
5555
_In_ INT af,
56-
_In_ PVOID src,
56+
_In_ const VOID *src,
5757
_Out_writes_(StringBufSize) PSTR dst,
5858
_In_ size_t size)
5959
{

0 commit comments

Comments
 (0)