Avoid -Wnarrowing warnings in aarch64-linux-tdep.c
authorTom Tromey <tom@tromey.com>
Mon, 27 Aug 2018 17:55:39 +0000 (11:55 -0600)
committerTom Tromey <tom@tromey.com>
Mon, 27 Aug 2018 18:00:12 +0000 (12:00 -0600)
commit1885053bcb12dd05a6f129146cf514e966082c27
treeb87e292e8047546f1ca4e6877a4ca5887a3d51b5
parentb4f183d23ec5f99765f0d6c64c1e3139e1d54093
Avoid -Wnarrowing warnings in aarch64-linux-tdep.c

This avoids -Wnarrowing warnings in
aarch64_linux_iterate_over_regset_sections, by adding some casts to
int.

gdb/ChangeLog
2018-08-27  Tom Tromey  <tom@tromey.com>

* aarch64-linux-tdep.c
(aarch64_linux_iterate_over_regset_sections) <sve_regmap>: Add
casts to int.
gdb/ChangeLog
gdb/aarch64-linux-tdep.c