Skip to content

Commit

Permalink
Fix issue #218
Browse files Browse the repository at this point in the history
Change writeInt32LE to writeUInt32LE as explain in issue #218
  • Loading branch information
jmcollin78 authored May 11, 2018
1 parent 89b6f67 commit cda668c
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.writeInt32LE(_crc, Constants.CENCRC);
data.writeUInt32LE(_crc, Constants.CENCRC);
// compressed size
data.writeUInt32LE(_compressedSize, Constants.CENSIZ);
// uncompressed size
Expand Down

0 comments on commit cda668c

Please sign in to comment.