diff options
author | Antoine Tremblay <antoine.tremblay@ericsson.com> | 2015-12-18 15:23:58 -0500 |
---|---|---|
committer | Antoine Tremblay <antoine.tremblay@ericsson.com> | 2015-12-18 15:29:07 -0500 |
commit | 5f2dfcfdb5def494d13bff72275f6ff75fe75f40 (patch) | |
tree | 466624a57dd0dfe3af4a97809fed7a2111f001c4 /gdb/arm-tdep.c | |
parent | aff9c0f8ab32e4f2f7ff9700afe84a61d23a08c6 (diff) | |
download | gdb-5f2dfcfdb5def494d13bff72275f6ff75fe75f40.zip gdb-5f2dfcfdb5def494d13bff72275f6ff75fe75f40.tar.gz gdb-5f2dfcfdb5def494d13bff72275f6ff75fe75f40.tar.bz2 |
Cast to enum bfd_endian in arm_get_next_pcs_read_memory_unsigned_integer
This patch fixes the cxx build broken by commit : d9311bfaf572cf14af577a66e79c51c491553552.
Pushed as obvious.
gdb/ChangeLog:
* arm-tdep.c (arm_get_next_pcs_read_memory_unsigned_integer): Cast
to enum bfd_endian)
Diffstat (limited to 'gdb/arm-tdep.c')
-rw-r--r-- | gdb/arm-tdep.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/arm-tdep.c b/gdb/arm-tdep.c index 52ce8d5..0e10dfd 100644 --- a/gdb/arm-tdep.c +++ b/gdb/arm-tdep.c @@ -6127,7 +6127,8 @@ ULONGEST arm_get_next_pcs_read_memory_unsigned_integer (CORE_ADDR memaddr, int len, int byte_order) { - return read_memory_unsigned_integer (memaddr, len, byte_order); + return read_memory_unsigned_integer (memaddr, len, + (enum bfd_endian) byte_order); } /* Wrapper over gdbarch_addr_bits_remove for use in arm_get_next_pcs. */ |