Use set_tdata to set the ieee tdata field, avoiding casting left of
assignment.
This commit is contained in:
parent
2a8afebabf
commit
295cce3ca6
|
@ -856,7 +856,7 @@ uint8e_type buffer[512];
|
||||||
library= read_id(&(ieee->h));
|
library= read_id(&(ieee->h));
|
||||||
if (strcmp(library , "LIBRARY") != 0) {
|
if (strcmp(library , "LIBRARY") != 0) {
|
||||||
bfd_release(abfd, ieee);
|
bfd_release(abfd, ieee);
|
||||||
ieee_ar_data(abfd)= save;
|
set_tdata (abfd, save);
|
||||||
return (bfd_target *)NULL;
|
return (bfd_target *)NULL;
|
||||||
}
|
}
|
||||||
/* Throw away the filename */
|
/* Throw away the filename */
|
||||||
|
|
Loading…
Reference in New Issue