Unified · Split
| @@ -4477,7 +4477,7 @@ static int parse_btype(CType *type, AttributeDef *ad) · 4476 unmodified lines | |||
| 4477 | type_size(&type1, &n); | 4477 | type_size(&type1, &n); |
| 4478 | } else { | 4478 | } else { |
| 4479 | n = expr_const(); | 4479 | n = expr_const(); |
| 4480 | if (n < 0 || ((n > 1) & ((n & (n - 1)) != 0))) | 4480 | if (n < 0 || (n > 1 && (n & (n - 1)) != 0)) |
| 4481 | tcc_error("alignment must be a positive power of two"); | 4481 | tcc_error("alignment must be a positive power of two"); |
| 4482 | } | 4482 | } |
| 4483 | skip(')'); | 4483 | skip(')'); |