mirror of
https://github.com/cc65/cc65.git
synced 2024-12-24 11:31:31 +00:00
Clarify comment about large shift
This is to avoid overflow on host platform.
This commit is contained in:
parent
847982c6bf
commit
9c70bd44a6
@ -221,7 +221,7 @@ void LoadExpr (unsigned Flags, struct ExprDesc* Expr)
|
||||
** the result of that.
|
||||
*/
|
||||
|
||||
/* Avoid overly large shift. */
|
||||
/* Avoid overly large shift on host platform. */
|
||||
if (EndBit == sizeof (unsigned long) * CHAR_BIT) {
|
||||
g_and (F, (~0UL << Expr->BitOffs));
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user