diff --git a/lib/zlib/adler32.js b/lib/zlib/adler32.js index f24df0c..299d10a 100644 --- a/lib/zlib/adler32.js +++ b/lib/zlib/adler32.js @@ -22,7 +22,7 @@ function adler32(adler, buf, len, pos) { s2 %= 65521; } - return (s1 | (s2 << 16)) >>> 0; + return (s1 | (s2 << 16)); } diff --git a/lib/zlib/inflate.js b/lib/zlib/inflate.js index 8957431..8e3f348 100644 --- a/lib/zlib/inflate.js +++ b/lib/zlib/inflate.js @@ -506,7 +506,7 @@ function inflate(strm, flush) { return (((q >>> 24) & 0xff) + ((q >>> 8) & 0xff00) + ((q & 0xff00) << 8) + - ((q & 0xff) << 24)) >>> 0; + ((q & 0xff) << 24)); } /*