From 2ad9d123bc6d295db7f68b382e97d078a4fd05e7 Mon Sep 17 00:00:00 2001 From: hutauf Date: Thu, 5 Dec 2024 09:44:19 +0100 Subject: [PATCH] fix tz_offset being unsigned int, however it's supposed to be a signed int --- src/asammdf/blocks/v2_v3_constants.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/asammdf/blocks/v2_v3_constants.py b/src/asammdf/blocks/v2_v3_constants.py index da823f306..ad037e70e 100644 --- a/src/asammdf/blocks/v2_v3_constants.py +++ b/src/asammdf/blocks/v2_v3_constants.py @@ -230,7 +230,7 @@ COMMON_uf = struct.Struct(FMT_COMMON).unpack_from COMMON_p = struct.Struct(FMT_COMMON).pack -HEADER_POST_320_EXTRA_FMT = "Q2H32s" +HEADER_POST_320_EXTRA_FMT = "QhH32s" HEADER_POST_320_EXTRA_KEYS = ( "abs_time", "tz_offset",