From 57c7dfd8fed5efd2d66f0b990941ade7382fa012 Mon Sep 17 00:00:00 2001 From: Xavier Leroy Date: Sun, 18 Jun 1995 14:59:32 +0000 Subject: 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 --- otherlibs/unix/socketpair.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'otherlibs/unix/socketpair.c') 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); -- cgit v1.2.3-70-g09d2