diff options
Diffstat (limited to 'gcc/simplify-rtx.c')
-rw-r--r-- | gcc/simplify-rtx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/simplify-rtx.c b/gcc/simplify-rtx.c index 0565dcd32b8..135846ca82f 100644 --- a/gcc/simplify-rtx.c +++ b/gcc/simplify-rtx.c @@ -2280,7 +2280,7 @@ simplify_subreg (outermode, op, innermode, byte) if (GET_CODE (op) == CONST_VECTOR) { int elt_size = GET_MODE_SIZE (GET_MODE_INNER (innermode)); - int offset = byte / elt_size; + const unsigned int offset = byte / elt_size; rtx elt; if (GET_MODE_INNER (innermode) == outermode) |