diff options
Diffstat (limited to 'gdb/btrace.c')
-rw-r--r-- | gdb/btrace.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/btrace.c b/gdb/btrace.c index e205ea8..4292dc7 100644 --- a/gdb/btrace.c +++ b/gdb/btrace.c @@ -1441,7 +1441,7 @@ parse_xml_raw (struct gdb_xml_parser *parser, const char *body_text, size = len / 2; - bin = data = xmalloc (size); + bin = data = (gdb_byte *) xmalloc (size); cleanup = make_cleanup (xfree, data); /* We use hex encoding - see common/rsp-low.h. */ |