diff options
author | Andrew Cagney <cagney@redhat.com> | 2003-01-31 23:22:07 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2003-01-31 23:22:07 +0000 |
commit | 0e221f325261c56aea78f1a44753f23cb05d9ae2 (patch) | |
tree | ef43f660e9fd18fa459da5cc7434e0fba637e6c4 /gdb/objc-exp.y | |
parent | 1c5d55d69e15150d3c1801169faa64e69d5c6b21 (diff) | |
download | gdb-0e221f325261c56aea78f1a44753f23cb05d9ae2.tar.gz |
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.y | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/objc-exp.y b/gdb/objc-exp.y index 78f207df15f..1a7c5f002a8 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 |