Skip to content

Commit

Permalink
Merge pull request #240 from realtebo/master
Browse files Browse the repository at this point in the history
Fix
  • Loading branch information
cthackers authored Oct 11, 2018
2 parents 5e4c8ad + f472a1d commit 74bdec6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion headers/entryHeader.js
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ module.exports = function () {
// modification time (2 bytes time, 2 bytes date)
data.writeUInt32LE(_time, Constants.CENTIM);
// uncompressed file crc-32 value
data.writeUInt32LE(_crc, Constants.CENCRC);
data.writeInt32LE(_crc & 0xFFFF, Constants.CENCRC, true);
// compressed size
data.writeUInt32LE(_compressedSize, Constants.CENSIZ);
// uncompressed size
Expand Down

0 comments on commit 74bdec6

Please sign in to comment.