From a1506c8bdfd5f50812b53fdfbb26efb7d69ae884 Mon Sep 17 00:00:00 2001 From: Uwe Seimet Date: Wed, 6 Nov 2024 23:01:27 +0100 Subject: [PATCH] Update offset handling --- cpp/devices/tape.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } }