aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/expression.c
diff options
Diffstat (limited to 'expression.c')
-rw-r--r--expression.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/expression.c b/expression.c
index 6f4300b9..f955fb15 100644
--- a/expression.c
+++ b/expression.c
@@ -324,7 +324,7 @@ static void get_number_value(struct expression *expr, struct token *token)
show_token(token));
want_unsigned = 1;
got_it:
- if (do_warn)
+ if (do_warn && Wconstant_suffix)
warning(expr->pos, "constant %s is so big it is%s%s%s",
show_token(token),
want_unsigned ? " unsigned":"",