aboutsummaryrefslogtreecommitdiff
path: root/gdb/maint.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/maint.c')
-rw-r--r--gdb/maint.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/maint.c b/gdb/maint.c
index 99c7f9e..d4d5810 100644
--- a/gdb/maint.c
+++ b/gdb/maint.c
@@ -628,7 +628,7 @@ maintenance_do_deprecate (char *text, int deprecate)
if (alias)
{
if (alias->malloced_replacement)
- xfree (alias->replacement);
+ xfree ((char *) alias->replacement);
if (deprecate)
{
@@ -647,7 +647,7 @@ maintenance_do_deprecate (char *text, int deprecate)
else if (cmd)
{
if (cmd->malloced_replacement)
- xfree (cmd->replacement);
+ xfree ((char *) cmd->replacement);
if (deprecate)
{