diff options
Diffstat (limited to 'gdb/common/format.c')
-rw-r--r-- | gdb/common/format.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/common/format.c b/gdb/common/format.c index 1602e53..52c6b81 100644 --- a/gdb/common/format.c +++ b/gdb/common/format.c @@ -99,7 +99,7 @@ parse_format_string (const char **arg) /* Need extra space for the '\0's. Doubling the size is sufficient. */ - current_substring = xmalloc (strlen (string) * 2 + 1000); + current_substring = (char *) xmalloc (strlen (string) * 2 + 1000); max_pieces = strlen (string) + 2; |