Use set_tdata to set the ieee tdata field, avoiding casting left of

assignment.
This commit is contained in:
John Gilmore 1991-07-06 08:37:45 +00:00
parent 2a8afebabf
commit 295cce3ca6

View File

@ -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 */