summaryrefslogtreecommitdiff
path: root/byterun/io.c
diff options
context:
space:
mode:
authorNicolas Pouillard <np@nicolaspouillard.fr>2006-07-17 19:30:18 +0000
committerNicolas Pouillard <np@nicolaspouillard.fr>2006-07-17 19:30:18 +0000
commit1f8ca2dc7b7023ef6ded2c53f7b0747cf9943bb9 (patch)
tree869e22eed7f4bb9ccd06df5e378bfa3559ba8db3 /byterun/io.c
parent1afbc5b2cfb0d7cd40c981c71f46e21c7f7f9731 (diff)
downloadocaml-1f8ca2dc7b7023ef6ded2c53f7b0747cf9943bb9.tar.gz
Put parenthesis around arguments to please the compilation
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7516 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'byterun/io.c')
-rw-r--r--byterun/io.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/byterun/io.c b/byterun/io.c
index 47588bfda9..854f663e81 100644
--- a/byterun/io.c
+++ b/byterun/io.c
@@ -534,7 +534,7 @@ CAMLprim value caml_ml_flush_partial(value vchannel)
struct channel * channel = Channel(vchannel);
int res;
- if (channel->fd == -1) CAMLreturn Val_true;
+ if (channel->fd == -1) CAMLreturn(Val_true);
Lock(channel);
res = caml_flush_partial(channel);
Unlock(channel);
@@ -546,7 +546,7 @@ CAMLprim value caml_ml_flush(value vchannel)
CAMLparam1 (vchannel);
struct channel * channel = Channel(vchannel);
- if (channel->fd == -1) CAMLreturn Val_unit;
+ if (channel->fd == -1) CAMLreturn(Val_unit);
Lock(channel);
caml_flush(channel);
Unlock(channel);