Skip to content

Commit 6f81461

Browse files
committed
Add offset to buffer call
1 parent 1fc37a9 commit 6f81461

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/archivers/zip/util.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ util.dosToDate = function(dos) {
3636
};
3737

3838
util.fromDosTime = function(buf) {
39-
return util.dosToDate(buf.readUInt32LE());
39+
return util.dosToDate(buf.readUInt32LE(0));
4040
};
4141

4242
util.getEightBytes = function(v) {

0 commit comments

Comments
 (0)