From: John Gilmore Date: Sat, 6 Jul 1991 08:37:45 +0000 (+0000) Subject: Use set_tdata to set the ieee tdata field, avoiding casting left of X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=295cce3ca6957a58be74c8550a673dd03ed1ce01;p=binutils-gdb.git Use set_tdata to set the ieee tdata field, avoiding casting left of assignment. --- diff --git a/bfd/ieee.c b/bfd/ieee.c index 801f6eee88f..060eeea2005 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 */