aboutsummaryrefslogtreecommitdiff
path: root/bfd/ieee.c
diff options
context:
space:
mode:
authorJohn Gilmore <gnu@cygnus>1991-07-06 08:37:45 +0000
committerJohn Gilmore <gnu@cygnus>1991-07-06 08:37:45 +0000
commit295cce3ca6957a58be74c8550a673dd03ed1ce01 (patch)
treedd4a387557ab88a3269e941a087981df0f4bba1f /bfd/ieee.c
parent2a8afebabfa21fef0e777f11e575b0467e014c08 (diff)
downloadgdb-295cce3ca6957a58be74c8550a673dd03ed1ce01.zip
gdb-295cce3ca6957a58be74c8550a673dd03ed1ce01.tar.gz
gdb-295cce3ca6957a58be74c8550a673dd03ed1ce01.tar.bz2
Use set_tdata to set the ieee tdata field, avoiding casting left of
assignment.
Diffstat (limited to 'bfd/ieee.c')
-rw-r--r--bfd/ieee.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bfd/ieee.c b/bfd/ieee.c
index 801f6ee..060eeea 100644
--- a/bfd/ieee.c
+++ b/bfd/ieee.c
@@ -855,8 +855,8 @@ uint8e_type buffer[512];
next_byte(&(ieee->h));
library= read_id(&(ieee->h));
if (strcmp(library , "LIBRARY") != 0) {
- bfd_release(abfd, ieee);
- ieee_ar_data(abfd)= save;
+ bfd_release(abfd, ieee);
+ set_tdata (abfd, save);
return (bfd_target *)NULL;
}
/* Throw away the filename */