Skip to content

Commit

Permalink
Update offset handling
Browse files Browse the repository at this point in the history
  • Loading branch information
uweseimet committed Nov 6, 2024
1 parent 1d9b1aa commit a1506c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpp/devices/tape.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -597,7 +597,7 @@ void Tape::WriteMetaData(Tape::object_type type, uint32_t size)

// The current position is always before end-of-data
if (type != object_type::END_OF_DATA) {
position += sizeof(meta_data_t) + size;
position += sizeof(meta_data_t);
}
}

Expand Down

0 comments on commit a1506c8

Please sign in to comment.