From c398afc4e3d74cd45877033be86e18a87da90924 Mon Sep 17 00:00:00 2001 From: Paul Hollinsky Date: Thu, 7 Apr 2022 13:04:31 -0400 Subject: [PATCH] Extended Commands: Fix struct packing --- include/icsneo/communication/message/extendedresponsemessage.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/icsneo/communication/message/extendedresponsemessage.h b/include/icsneo/communication/message/extendedresponsemessage.h index 0ebaf3c..04361ad 100644 --- a/include/icsneo/communication/message/extendedresponsemessage.h +++ b/include/icsneo/communication/message/extendedresponsemessage.h @@ -16,7 +16,7 @@ public: const ExtendedCommand command; const ExtendedResponse response; -#pragma pack(push, 1) +#pragma pack(push, 2) struct ResponseHeader { ExtendedCommand command; uint16_t length;