Message ID | 1388407731-24369-5-git-send-email-neolynx@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/lib/include/descriptors/nit.h b/lib/include/descriptors/nit.h index f2f6163..d71a762 100644 --- a/lib/include/descriptors/nit.h +++ b/lib/include/descriptors/nit.h @@ -48,7 +48,7 @@ struct dvb_table_nit_transport { struct { uint16_t section_length:12; uint16_t reserved:4; - }; + } __attribute__((packed)); }; struct dvb_desc *descriptor; struct dvb_table_nit_transport *next; @@ -61,7 +61,7 @@ struct dvb_table_nit { struct { uint16_t desc_length:12; uint16_t reserved:4; - }; + } __attribute__((packed)); }; struct dvb_desc *descriptor; struct dvb_table_nit_transport *transport;
Signed-off-by: André Roth <neolynx@gmail.com> --- lib/include/descriptors/nit.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)