Skip to content

Commit 1f8dd95

Browse files
committed
1 parent 9376069 commit 1f8dd95

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

KaitaiStream.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -478,7 +478,7 @@ KaitaiStream.prototype.readBitsIntLe = function(n) {
478478
// derive reading result
479479
var res = this.bits & mask;
480480
// remove bottom bits that we've just read by shifting
481-
this.bits >>= n;
481+
this.bits >>>= n;
482482
this.bitsLeft -= n;
483483

484484
return res;

0 commit comments

Comments
 (0)