summaryrefslogtreecommitdiffstats
path: root/otherlibs/unix/socketpair.c
diff options
context:
space:
mode:
authorXavier Leroy <xavier.leroy@inria.fr>1995-06-18 14:59:32 +0000
committerXavier Leroy <xavier.leroy@inria.fr>1995-06-18 14:59:32 +0000
commit57c7dfd8fed5efd2d66f0b990941ade7382fa012 (patch)
tree9cdd73bbbe28d26728b28ee756f7ca3bbe147abd /otherlibs/unix/socketpair.c
parent09b2d4a5d5bc7175e6cffcada45ee063f911f1ca (diff)
MAJ apres le changement de representation des constructeurs constants
(reste a tester). git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@48 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'otherlibs/unix/socketpair.c')
-rw-r--r--otherlibs/unix/socketpair.c4
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);