diff options
author | Yao Qi <yao.qi@linaro.org> | 2016-10-24 10:59:11 +0100 |
---|---|---|
committer | Yao Qi <yao.qi@linaro.org> | 2016-10-24 11:58:01 +0100 |
commit | a945860b6cb4f8a26343ac5dcb0b42fe5fb2f68a (patch) | |
tree | c05486aecd36059980e25526bdc2ec86282346e6 /gdb/top.c | |
parent | 5c65ad3bd161127cb394623ea86858ada4302da0 (diff) | |
download | gdb-a945860b6cb4f8a26343ac5dcb0b42fe5fb2f68a.zip gdb-a945860b6cb4f8a26343ac5dcb0b42fe5fb2f68a.tar.gz gdb-a945860b6cb4f8a26343ac5dcb0b42fe5fb2f68a.tar.bz2 |
[GDBserver] Fix conversion warning
I got the following warning if I build GDBserver for aarch64_be-linux-gnu,
git/gdb/gdbserver/linux-aarch64-low.c:1539:39: error: invalid conversion from 'void*' to 'uint32_t* {aka unsigned int*}' [-fpermissive]
uint32_t *le_buf = xmalloc (byte_len);
^
The patch is to fix the warning.
gdb/gdbserver:
2016-10-24 Yao Qi <yao.qi@linaro.org>
PR server/20733
* linux-aarch64-low.c (append_insns): Cast the return value to
'uint32_t *'.
Diffstat (limited to 'gdb/top.c')
0 files changed, 0 insertions, 0 deletions