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:07:24 +0100 |
commit | cb93dc7f262978bafe36397a41a56e409a302042 (patch) | |
tree | 61ca0faa7a5caf39539715b1dbea0e48fb4ab4ea /gdb/exec.c | |
parent | 638101973de1d316fcb7d4b6a37fa194b61bfaad (diff) | |
download | gdb-cb93dc7f262978bafe36397a41a56e409a302042.zip gdb-cb93dc7f262978bafe36397a41a56e409a302042.tar.gz gdb-cb93dc7f262978bafe36397a41a56e409a302042.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/exec.c')
0 files changed, 0 insertions, 0 deletions