summaryrefslogtreecommitdiff
path: root/libfec
diff options
context:
space:
mode:
authorBadhri Jagan Sridharan <badhri@google.com>2016-06-17 02:48:17 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2016-06-17 02:48:17 +0000
commitc2174a19344d7d63a1a633fb55d7a8c71f4f3959 (patch)
tree13ff68304f330dc2064735b8df9d12149a059d59 /libfec
parent90d56472a6981cbbeba5adfc293f920004cd9a22 (diff)
parentd2da04cf17a0fd5819249c388c9b6403d75de59d (diff)
downloadextras-c2174a19344d7d63a1a633fb55d7a8c71f4f3959.tar.gz
Merge "libfec: pack the fec_header structure"
Diffstat (limited to 'libfec')
-rw-r--r--libfec/include/fec/io.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libfec/include/fec/io.h b/libfec/include/fec/io.h
index d8c88daa..7f8122c9 100644
--- a/libfec/include/fec/io.h
+++ b/libfec/include/fec/io.h
@@ -50,7 +50,7 @@ struct fec_header {
uint32_t fec_size;
uint64_t inp_size;
uint8_t hash[SHA256_DIGEST_LENGTH];
-};
+} __attribute__ ((packed));
struct fec_status {
int flags;