diff options
author | Xavier Leroy <xavier.leroy@inria.fr> | 1995-06-18 14:59:32 +0000 |
---|---|---|
committer | Xavier Leroy <xavier.leroy@inria.fr> | 1995-06-18 14:59:32 +0000 |
commit | 57c7dfd8fed5efd2d66f0b990941ade7382fa012 (patch) | |
tree | 9cdd73bbbe28d26728b28ee756f7ca3bbe147abd /otherlibs/unix/shutdown.c | |
parent | 09b2d4a5d5bc7175e6cffcada45ee063f911f1ca (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/shutdown.c')
-rw-r--r-- | otherlibs/unix/shutdown.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |