aboutsummaryrefslogtreecommitdiff
path: root/bfd/opncls.c
diff options
context:
space:
mode:
authorJohn Gilmore <gnu@cygnus>1991-04-25 04:06:21 +0000
committerJohn Gilmore <gnu@cygnus>1991-04-25 04:06:21 +0000
commita6ac0c5998db0fb3b89c11800507b7307dba692b (patch)
tree7d1cc98073704e155e81832fde0f3bb861af3dc0 /bfd/opncls.c
parent65c552e308c59f2fb8523446a627e1791134aaef (diff)
downloadgdb-a6ac0c5998db0fb3b89c11800507b7307dba692b.zip
gdb-a6ac0c5998db0fb3b89c11800507b7307dba692b.tar.gz
gdb-a6ac0c5998db0fb3b89c11800507b7307dba692b.tar.bz2
Fix minor pointer type problems that "cc" complains about.
Diffstat (limited to 'bfd/opncls.c')
-rw-r--r--bfd/opncls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/opncls.c b/bfd/opncls.c
index d444acf..8b656bb 100644
--- a/bfd/opncls.c
+++ b/bfd/opncls.c
@@ -296,7 +296,7 @@ DEFUN(PTR bfd_alloc, (abfd, size),
bfd *abfd AND
size_t size)
{
- PTR *res = obstack_alloc(&(abfd->memory),size);
+ PTR res = obstack_alloc(&(abfd->memory),size);
return res;
}