diff options
Diffstat (limited to 'otherlibs/unix/socketpair.c')
-rw-r--r-- | otherlibs/unix/socketpair.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/otherlibs/unix/socketpair.c b/otherlibs/unix/socketpair.c index 5a5a02d96..0b84dea1d 100644 --- a/otherlibs/unix/socketpair.c +++ b/otherlibs/unix/socketpair.c @@ -11,8 +11,8 @@ value unix_socketpair(domain, type, proto) /* ML */ { int sv[2]; value res; - if (socketpair(socket_domain_table[Tag_val(domain)], - socket_type_table[Tag_val(type)], + if (socketpair(socket_domain_table[Int_val(domain)], + socket_type_table[Int_val(type)], Int_val(proto), sv) == -1) uerror("socketpair", Nothing); res = alloc_tuple(2); |