diff options
author | Pierre Weis <Pierre.Weis@inria.fr> | 2010-05-05 17:49:19 +0000 |
---|---|---|
committer | Pierre Weis <Pierre.Weis@inria.fr> | 2010-05-05 17:49:19 +0000 |
commit | 2855154d6c3fa5774309f31120418610cdf8fdd8 (patch) | |
tree | bad0e4c65a0d98c36fd918400fd7c97c94b1fe28 /stdlib | |
parent | e9d9d32b7d9325496b79a0fa9d009358663853c3 (diff) | |
download | ocaml-2855154d6c3fa5774309f31120418610cdf8fdd8.tar.gz |
Typo in module Scanf prevented tests to succeeded properly.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10377 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'stdlib')
-rw-r--r-- | stdlib/scanf.ml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stdlib/scanf.ml b/stdlib/scanf.ml index fe22ec3254..3d3d16c233 100644 --- a/stdlib/scanf.ml +++ b/stdlib/scanf.ml @@ -1413,7 +1413,7 @@ let scan_format ib ef fmt rv f = match Sformat.get fmt i with (* This is in fact an integer conversion (e.g. %ld, %ni, or %Lo). *) | 'd' | 'i' | 'o' | 'u' | 'x' | 'X' as conv1 -> - let _x = scan_int_conv conv1 max ib in + let _x = scan_int_conv conv1 max min ib in (* Look back to the character that triggered the integer conversion (this character is either 'l', 'n' or 'L') to find the conversion to apply to the integer token read. *) |