summaryrefslogtreecommitdiffstats
path: root/otherlibs/unix/socketaddr.c
diff options
context:
space:
mode:
Diffstat (limited to 'otherlibs/unix/socketaddr.c')
-rw-r--r--otherlibs/unix/socketaddr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/otherlibs/unix/socketaddr.c b/otherlibs/unix/socketaddr.c
index f2c2c6730..13b772ffa 100644
--- a/otherlibs/unix/socketaddr.c
+++ b/otherlibs/unix/socketaddr.c
@@ -26,7 +26,7 @@ value alloc_inet_addr(a)
unsigned int a;
{
value res;
- res = alloc(1, Abstract_tag);
+ res = alloc_string(sizeof(uint32));
GET_INET_ADDR(res) = a;
return res;
}