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/shutdown.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'otherlibs/unix/shutdown.c') diff --git a/otherlibs/unix/shutdown.c b/otherlibs/unix/shutdown.c index 79326494e..bd37c1e5b 100644 --- a/otherlibs/unix/shutdown.c +++ b/otherlibs/unix/shutdown.c @@ -10,7 +10,7 @@ static int shutdown_command_table[] = { value unix_shutdown(sock, cmd) /* ML */ value sock, cmd; { - if (shutdown(Int_val(sock), shutdown_command_table[Tag_val(cmd)]) == -1) + if (shutdown(Int_val(sock), shutdown_command_table[Int_val(cmd)]) == -1) uerror("shutdown", Nothing); return Val_unit; } -- cgit v1.2.3-70-g09d2