Skip to content

Commit 9ded2ae

Browse files
committed
pull from jszip: Stuk#791
1 parent 01406b3 commit 9ded2ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/reader/DataReader.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ export class DataReader {
6666
i;
6767
this.checkOffset(size);
6868
for (i = this.index + size - 1; i >= this.index; i--) {
69-
result = (result << 8) + this.byteAt(i);
69+
result = (result * 256) + this.byteAt(i);
7070
}
7171
this.index += size;
7272
return result;

0 commit comments

Comments
 (0)