diff options
Diffstat (limited to 'gdb/common/btrace-common.c')
-rw-r--r-- | gdb/common/btrace-common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/common/btrace-common.c b/gdb/common/btrace-common.c index 9d6c4a7..7d65ab2 100644 --- a/gdb/common/btrace-common.c +++ b/gdb/common/btrace-common.c @@ -161,7 +161,7 @@ btrace_data_append (struct btrace_data *dst, size_t size; size = src->variant.pt.size + dst->variant.pt.size; - data = xmalloc (size); + data = (gdb_byte *) xmalloc (size); memcpy (data, dst->variant.pt.data, dst->variant.pt.size); memcpy (data + dst->variant.pt.size, src->variant.pt.data, |