aboutsummaryrefslogtreecommitdiff
path: root/gdb/values.c
diff options
context:
space:
mode:
authorJohn Gilmore <gnu@cygnus>1992-03-29 23:26:47 +0000
committerJohn Gilmore <gnu@cygnus>1992-03-29 23:26:47 +0000
commitbe772100b5002a9d942ebea6e597787ea878932a (patch)
treed5cf30ef76c85c6e4ee0fdf6824ea25df14fcf47 /gdb/values.c
parent3414e4eb38123381ceb0a04ae0fd7fbb3de7e2db (diff)
downloadgdb-be772100b5002a9d942ebea6e597787ea878932a.zip
gdb-be772100b5002a9d942ebea6e597787ea878932a.tar.gz
gdb-be772100b5002a9d942ebea6e597787ea878932a.tar.bz2
Lint
Diffstat (limited to 'gdb/values.c')
-rw-r--r--gdb/values.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/gdb/values.c b/gdb/values.c
index 3dc1acc..998c42e 100644
--- a/gdb/values.c
+++ b/gdb/values.c
@@ -312,9 +312,9 @@ clear_value_history ()
{
for (i = 0; i < VALUE_HISTORY_CHUNK; i++)
if (val = value_history_chain->values[i])
- free (val);
+ free ((PTR)val);
next = value_history_chain->next;
- free (value_history_chain);
+ free ((PTR)value_history_chain);
value_history_chain = next;
}
value_history_count = 0;
@@ -450,7 +450,7 @@ set_internalvar (var, val)
SET_TRAPPED_INTERNALVAR (var, val, 0, 0, 0);
#endif
- free (var->value);
+ free ((PTR)var->value);
var->value = value_copy (val);
release_value (var->value);
}
@@ -474,9 +474,9 @@ clear_internalvars ()
{
var = internalvars;
internalvars = var->next;
- free (var->name);
- free (var->value);
- free (var);
+ free ((PTR)var->name);
+ free ((PTR)var->value);
+ free ((PTR)var);
}
}