Fix two -Wnarrowing warnings in xtensa-tdep.h
authorTom Tromey <tom@tromey.com>
Tue, 7 Aug 2018 19:07:21 +0000 (13:07 -0600)
committerTom Tromey <tom@tromey.com>
Mon, 27 Aug 2018 18:00:10 +0000 (12:00 -0600)
commitec40cf90a02ebe3e2636ffa92245677e18233917
treef57d00d0c22b2d97c11c7ce122366cfec8905adc
parent7bc02706c3e23b58e1a74ca47fada84fc68699c7
Fix two -Wnarrowing warnings in xtensa-tdep.h

This fixes a couple of -Wnarrowing warnings in xtensa-tdep.h, by
introducing some casts to unsigned.

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

* xtensa-tdep.h (XTREG_END): Add cast to unsigned.
(XTENSA_GDBARCH_TDEP_INSTANTIATE): Likewise.
gdb/ChangeLog
gdb/xtensa-tdep.h