diff --git a/cpp/devices/tape.cpp b/cpp/devices/tape.cpp index 984ce45c..d120172b 100644 --- a/cpp/devices/tape.cpp +++ b/cpp/devices/tape.cpp @@ -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); } }