aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/config/aarch64/aarch64.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/config/aarch64/aarch64.c b/gcc/config/aarch64/aarch64.c
index ad56ecabd0f..55c08b5c93f 100644
--- a/gcc/config/aarch64/aarch64.c
+++ b/gcc/config/aarch64/aarch64.c
@@ -8918,9 +8918,9 @@ aarch64_simd_lane_bounds (rtx operand, HOST_WIDE_INT low, HOST_WIDE_INT high,
if (lane < low || lane >= high)
{
if (exp)
- error ("%Klane %ld out of range %ld - %ld", exp, lane, low, high - 1);
+ error ("%Klane %wd out of range %wd - %wd", exp, lane, low, high - 1);
else
- error ("lane %ld out of range %ld - %ld", lane, low, high - 1);
+ error ("lane %wd out of range %wd - %wd", lane, low, high - 1);
}
}