diff options
Diffstat (limited to 'gdb/common/gdb_vecs.c')
-rw-r--r-- | gdb/common/gdb_vecs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/common/gdb_vecs.c b/gdb/common/gdb_vecs.c index 84424f8..63766db 100644 --- a/gdb/common/gdb_vecs.c +++ b/gdb/common/gdb_vecs.c @@ -60,7 +60,7 @@ delim_string_to_char_ptr_vec_append (VEC (char_ptr) **vecp, next_field++; } - this_field = xmalloc (this_len + 1); + this_field = (char *) xmalloc (this_len + 1); memcpy (this_field, str, this_len); this_field[this_len] = '\0'; VEC_safe_push (char_ptr, *vecp, this_field); |