aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gas/config/tc-aarch64.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gas/config/tc-aarch64.c b/gas/config/tc-aarch64.c
index e78be67..3dfbeb7 100644
--- a/gas/config/tc-aarch64.c
+++ b/gas/config/tc-aarch64.c
@@ -3943,10 +3943,10 @@ parse_shifter_zt0_with_bit_index (char **str,
return true;
}
- int64_t index;
- if (!parse_index_expression (str, &index))
+ int64_t idx;
+ if (!parse_index_expression (str, &idx))
return false;
- operand->imm.value = index;
+ operand->imm.value = idx;
if (!skip_past_comma (str))
return true;