From 93431801045da5f3fac6d88a8dd627cbb4fa17ab Mon Sep 17 00:00:00 2001 From: sezero Date: Tue, 31 May 2016 20:01:09 +0000 Subject: [PATCH] sync net_sys.h with the uhexen2 tree. git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1307 af15c1b1-3010-417e-b628-4374ebc0bcbd --- quakespasm/Quake/net_sys.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/quakespasm/Quake/net_sys.h b/quakespasm/Quake/net_sys.h index e61e02e5..1ce742eb 100644 --- a/quakespasm/Quake/net_sys.h +++ b/quakespasm/Quake/net_sys.h @@ -122,7 +122,7 @@ typedef unsigned int in_addr_t; /* u_int32_t */ WaitSelect((_N),(_R),(_W),(_E),(_T),NULL) #define IOCTLARG_P(x) (char *) x #if defined(__AMIGA__) && !defined(__MORPHOS__) -#define inet_ntoa(x) Inet_NtoA((ULONG *)&x) +#define inet_ntoa(x) Inet_NtoA(x.s_addr) /* Inet_NtoA(*(ULONG*)&x) */ #define h_errno Errno() #endif