Patch for bfd/cache.c - explicit cast to void*

Dave Korn dave.korn.cygwin@googlemail.com
Sun Mar 1 20:18:00 GMT 2009


Jerker Bäck wrote:
> Hello Alan and thanks for answering
> 
> OK, to make it more simple - this will also work and is maybe better:
> 
> chunk_nread = cache_bread_1(abfd, (void*)((char*)buf + nread), chunk_size);

  What compiler are you using?  What error message do you get?

    cheers,
      DaveK



More information about the Binutils mailing list