summaryrefslogtreecommitdiffstats
path: root/otherlibs/unix/socketaddr.h
diff options
context:
space:
mode:
Diffstat (limited to 'otherlibs/unix/socketaddr.h')
-rw-r--r--otherlibs/unix/socketaddr.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/otherlibs/unix/socketaddr.h b/otherlibs/unix/socketaddr.h
index 3d09c5689..1a65c7891 100644
--- a/otherlibs/unix/socketaddr.h
+++ b/otherlibs/unix/socketaddr.h
@@ -29,4 +29,4 @@ void get_sockaddr P((value));
value alloc_sockaddr P((void));
value alloc_inet_addr P((unsigned int));
-#define GET_INET_ADDR(v) (*((unsigned long *) (v)))
+#define GET_INET_ADDR(v) (*((uint32 *) (v)))