diff options
author | Pierre Weis <Pierre.Weis@inria.fr> | 2000-12-28 13:07:42 +0000 |
---|---|---|
committer | Pierre Weis <Pierre.Weis@inria.fr> | 2000-12-28 13:07:42 +0000 |
commit | 2116da4220acde3fdf11ac0ef0100e0166729bcd (patch) | |
tree | 3d09bdc4675c58823863bfe12c05e6cdd490d6f0 /stdlib/marshal.ml | |
parent | 447c79eadec7db87abc782735c5b06ed4fd020e4 (diff) |
Getting rid of obsolete boolean operators & and or
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3359 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'stdlib/marshal.ml')
-rw-r--r-- | stdlib/marshal.ml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stdlib/marshal.ml b/stdlib/marshal.ml index e18ee2862..cf49605d0 100644 --- a/stdlib/marshal.ml +++ b/stdlib/marshal.ml @@ -25,7 +25,7 @@ external to_buffer_unsafe: = "output_value_to_buffer" let to_buffer buff ofs len v flags = - if ofs < 0 or len < 0 or ofs + len > String.length buff + if ofs < 0 || len < 0 || ofs + len > String.length buff then invalid_arg "Marshal.to_buffer: substring out of bounds" else to_buffer_unsafe buff ofs len v flags |