···7373 let crc = ref 0xFFFFFFFFl in
7474 for i = 0 to String.length data - 1 do
7575 let byte = Int32.of_int (Char.code (String.unsafe_get data i)) in
7676- let idx = Int32.to_int ((!crc lxor byte) land 0xFFl) in
7676+ let idx = Int32.to_int (!crc lxor byte land 0xFFl) in
7777 crc := table.(idx) lxor (!crc lsr 8)
7878 done;
7979 Int32.to_int (!crc lxor 0xFFFFFFFFl)
···8282 let crc = ref 0xFFFFFFFFl in
8383 for i = off to off + len - 1 do
8484 let byte = Int32.of_int (Char.code (Bytes.unsafe_get buf i)) in
8585- let idx = Int32.to_int ((!crc lxor byte) land 0xFFl) in
8585+ let idx = Int32.to_int (!crc lxor byte land 0xFFl) in
8686 crc := table.(idx) lxor (!crc lsr 8)
8787 done;
8888 Int32.to_int (!crc lxor 0xFFFFFFFFl)