Fix set_literal_width effect

This commit is contained in:
Nigel Tao committed 2018-02-09 16:19:55 +11:00
1 parent 7e90967717
commit 8fb56491c6
2 files changed
+2 -3

No files matched your search

+1 -1
View File
@@ -177,7 +177,7 @@ pri func decoder.decode_id?(dst writer1, src reader1)() {
if (lw < 2) or (8 < lw) {
return error "bad LZW literal width"
}
this.lzw.set_literal_width(lw:lw as u32)
this.lzw.set_literal_width!(lw:lw as u32)
while true {
var block_size u64 = in.src.read_u8?() as u64