This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]