aboutsummaryrefslogtreecommitdiff
path: root/tccgen.c
diff options
context:
space:
mode:
authorLarry Doolittle <ldoolitt@recycle.lbl.gov>2017-09-24 18:03:26 -0700
committerLarry Doolittle <ldoolitt@recycle.lbl.gov>2017-09-24 18:03:26 -0700
commit1b6806e5bb39623c75b4aa8d8d6ffe1ef7ea46e7 (patch)
tree07a87c82efa398bce0b3d663c72c7b8e52439a1e /tccgen.c
parent44d4da62bb6aabd9030960fa41c12c097158ce0b (diff)
downloadtinycc-1b6806e5bb39623c75b4aa8d8d6ffe1ef7ea46e7.tar.gz
tinycc-1b6806e5bb39623c75b4aa8d8d6ffe1ef7ea46e7.tar.bz2
Spelling fixes
Comments only, no change to functionality
Diffstat (limited to 'tccgen.c')
-rw-r--r--tccgen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tccgen.c b/tccgen.c
index e6a56a7..02e40de 100644
--- a/tccgen.c
+++ b/tccgen.c
@@ -3637,7 +3637,7 @@ static void struct_layout(CType *type, AttributeDef *ad)
if (bit_pos + bit_size <= size * 8 && f->c + size <= c)
continue;
- /* try to access the field using a differnt type */
+ /* try to access the field using a different type */
c0 = -1, s = align = 1;
for (;;) {
px = f->c * 8 + bit_pos;