summaryrefslogtreecommitdiffstats
path: root/src/cold-flash.c
diff options
context:
space:
mode:
authorPali Rohár <pali.rohar@gmail.com>2014-12-13 20:47:42 +0100
committerPali Rohár <pali.rohar@gmail.com>2014-12-13 20:47:42 +0100
commit55bed7e8cd05b05f96503d81f04fb18a202ae785 (patch)
tree30dd9452d2c8b64e55baea36777325fb7e31fd40 /src/cold-flash.c
parente6ac56569c4960102838199297bbd1681aed9eb8 (diff)
parent3538c40ad17c243fcf0f2596dadc3b92360db780 (diff)
download0xFFFF-55bed7e8cd05b05f96503d81f04fb18a202ae785.tar.bz2
Merge branch 'master'
Diffstat (limited to 'src/cold-flash.c')
-rw-r--r--src/cold-flash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cold-flash.c b/src/cold-flash.c
index 6441187..8874b32 100644
--- a/src/cold-flash.c
+++ b/src/cold-flash.c
@@ -130,7 +130,7 @@ struct xloader_msg {
uint32_t size; /* 4 bytes - size of file */
uint32_t crc1; /* 4 bytes - crc32 of file */
uint32_t crc2; /* 4 bytes - crc32 of first 12 bytes of message */
-};
+} __attribute__((__packed__));
#define XLOADER_MSG_TYPE_PING 0x6301326E
#define XLOADER_MSG_TYPE_SEND 0x6302326E