From f4a6d088477e1bb7ca298c3312801b7194b056c8 Mon Sep 17 00:00:00 2001 From: Jesse Rosenstock Date: Mon, 29 Jun 2020 08:59:49 +0200 Subject: [PATCH] Fix full bytes vs full word in comment --- src/cc65/declare.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cc65/declare.c b/src/cc65/declare.c index 667f12660..51490dd7d 100644 --- a/src/cc65/declare.c +++ b/src/cc65/declare.c @@ -2087,7 +2087,7 @@ static unsigned ParseStructInit (Type* T, int AllowFlexibleMembers) Shift = (Entry->V.B.Offs - SI.Offs) * CHAR_BITS + Entry->V.B.BitOffs; SI.BitVal |= (Val << Shift); - /* Account for the data and output it if we have a full word */ + /* Account for the data and output any full bytes we have. */ SI.ValBits += Entry->V.B.BitWidth; /* Make sure unsigned is big enough to hold the value, 22 bits. ** This is 22 bits because the most we can have is 7 bits left