aboutsummaryrefslogtreecommitdiff
path: root/gdb/objc-exp.y
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2003-01-31 23:22:07 +0000
committerAndrew Cagney <cagney@redhat.com>2003-01-31 23:22:07 +0000
commit8dbb1c6595ac7eab11c8d8d1706eba852adf4f56 (patch)
tree248190002e250667482afb7dc601a81b657b7834 /gdb/objc-exp.y
parent8731e58ec78462405054a5229a108dc5fda8418a (diff)
downloadgdb-8dbb1c6595ac7eab11c8d8d1706eba852adf4f56.zip
gdb-8dbb1c6595ac7eab11c8d8d1706eba852adf4f56.tar.gz
gdb-8dbb1c6595ac7eab11c8d8d1706eba852adf4f56.tar.bz2
2003-01-31 Andrew Cagney <ac131313@redhat.com>
* objc-exp.y, c-exp.y, f-exp.y: Remove PTR casts. * utils.c: Update comments documenting legitimate uses of PTR.
Diffstat (limited to 'gdb/objc-exp.y')
-rw-r--r--gdb/objc-exp.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/objc-exp.y b/gdb/objc-exp.y
index 78f207d..1a7c5f0 100644
--- a/gdb/objc-exp.y
+++ b/gdb/objc-exp.y
@@ -842,7 +842,7 @@ array_mod: '[' ']'
func_mod: '(' ')'
{ $$ = 0; }
| '(' nonempty_typelist ')'
- { free ((PTR)$2); $$ = 0; }
+ { free ($2); $$ = 0; }
;
/* We used to try to recognize more pointer to member types here, but