Skip to content

Commit 909bd60

Browse files
Updated entryHeaderToBinary. Fixed a typo that made the CRC be written as an Int32 instead of a UInt32.
1 parent 89b6f67 commit 909bd60

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

headers/entryHeader.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ module.exports = function () {
213213
// modification time (2 bytes time, 2 bytes date)
214214
data.writeUInt32LE(_time, Constants.CENTIM);
215215
// uncompressed file crc-32 value
216-
data.writeInt32LE(_crc, Constants.CENCRC);
216+
data.writeUInt32LE(_crc, Constants.CENCRC);
217217
// compressed size
218218
data.writeUInt32LE(_compressedSize, Constants.CENSIZ);
219219
// uncompressed size

0 commit comments

Comments
 (0)