Skip to content

Commit cda668c

Browse files
authored
Fix issue #218
Change writeInt32LE to writeUInt32LE as explain in issue #218
1 parent 89b6f67 commit cda668c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

headers/entryHeader.js

+1-1
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)