Skip to content

Commit 6042ab7

Browse files
committed
zip: fix another typo in zip64.
1 parent ee99b76 commit 6042ab7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/archivers/zip/zip-archive-output-stream.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ ZipArchiveOutputStream.prototype._writeCentralDirectoryZip64 = function() {
244244
this.write(zipUtil.getEightBytes(this._archive.centralOffset + this._archive.centralLength));
245245

246246
// total number of disks
247-
this.write(this.getLongBytes(1));
247+
this.write(zipUtil.getLongBytes(1));
248248
};
249249

250250
ZipArchiveOutputStream.prototype._writeCentralFileHeader = function(ae) {

0 commit comments

Comments
 (0)