diff options
Diffstat (limited to 'gcc/expr.h')
-rw-r--r-- | gcc/expr.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/expr.h b/gcc/expr.h index 792c18c2423..9ffc61fd9a8 100644 --- a/gcc/expr.h +++ b/gcc/expr.h @@ -81,7 +81,7 @@ do { \ if (host_integerp (inc, 0)) \ (TO).constant += tree_low_cst (inc, 0); \ else if ((TO).var == 0) \ - (TO).var = inc; \ + (TO).var = convert (ssizetype, inc); \ else \ (TO).var = size_binop (PLUS_EXPR, (TO).var, \ convert (ssizetype, inc)); \ |