Skip to content

Commit 14d4c3c

Browse files
committed
missing char in Gen.char (close #23)
1 parent 764fead commit 14d4c3c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/QCheck.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ module Gen = struct
198198

199199
let quad g1 g2 g3 g4 st = (g1 st, g2 st, g3 st, g4 st)
200200

201-
let char st = char_of_int (RS.int st 255)
201+
let char st = char_of_int (RS.int st 256)
202202

203203
let printable_chars =
204204
let l = 126-32+1 in

0 commit comments

Comments
 (0)