Avoid -Wnarrowing warnings in ppc64-tdep.c
authorTom Tromey <tom@tromey.com>
Tue, 7 Aug 2018 19:13:58 +0000 (13:13 -0600)
committerTom Tromey <tom@tromey.com>
Mon, 27 Aug 2018 18:00:11 +0000 (12:00 -0600)
commit8406672eca8d008dc0324198ec2f653a16fb9d21
tree9b93baa3b204be5e5d6ffd7e03f168b6621b654f
parentec40cf90a02ebe3e2636ffa92245677e18233917
Avoid -Wnarrowing warnings in ppc64-tdep.c

This avoids -Wnarrowing warnings in ppc64-tdep.c, by adding a few
casts to unsigned.

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

* ppc64-tdep.c (insn_d, insn_ds, insn_xfx): Add casts to
unsigned.
(ppc64_standard_linkage1, ppc64_standard_linkage2)
(ppc64_standard_linkage3, ppc64_standard_linkage4)
(ppc64_standard_linkage5, ppc64_standard_linkage6)
(ppc64_standard_linkage7, ppc64_standard_linkage8): Add casts to
unsigned.
gdb/ChangeLog
gdb/ppc64-tdep.c