diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2008-02-05 20:51:03 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2008-02-05 20:51:03 +0000 |
commit | ec02521778fcaf2ec48e1a992192216e89f387fc (patch) | |
tree | 9177f3eca76c07f59623ad1746e50517f2196f41 /misc | |
parent | 6cbcda9fbb28d841b37de280629f55b2a53b4127 (diff) | |
download | px4-nuttx-ec02521778fcaf2ec48e1a992192216e89f387fc.tar.gz px4-nuttx-ec02521778fcaf2ec48e1a992192216e89f387fc.tar.bz2 px4-nuttx-ec02521778fcaf2ec48e1a992192216e89f387fc.zip |
Pad structures so they are aligned
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@633 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'misc')
-rw-r--r-- | misc/pascal/include/poff.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/misc/pascal/include/poff.h b/misc/pascal/include/poff.h index e446a87b7..5f8e360cf 100644 --- a/misc/pascal/include/poff.h +++ b/misc/pascal/include/poff.h @@ -193,6 +193,10 @@ struct poffFileHeader_s ubyte fh_arch; + /* Pad so that the next field is aligned */ + + ubyte fh_padding; + /* fh_shsize is the size a section header. This should be * sizeof(poffSectionHeader_t) */ |