Test and fix packet-based metadata parsing
[babeltrace.git] / include / babeltrace / ctf / metadata.h
index 6ebd0c7c298d16cc7f188be56a8273a06c9a551f..c197624793f932a9a3fb4495ec648c90a1760385 100644 (file)
@@ -188,6 +188,6 @@ struct metadata_packet_header {
        uint8_t  compression_scheme;    /* 0 if unused */
        uint8_t  encryption_scheme;     /* 0 if unused */
        uint8_t  checksum_scheme;       /* 0 if unused */
-};
+} __attribute__((packed));
 
 #endif /* _BABELTRACE_CTF_METADATA_H */
This page took 0.023606 seconds and 4 git commands to generate.