diff --git a/headers/entryHeader.js b/headers/entryHeader.js index 65b019e..cb0ea46 100644 --- a/headers/entryHeader.js +++ b/headers/entryHeader.js @@ -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