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] | |
The actual patch file didn't make it in my post - it seems. Here it is. > I suggest the attached patch to bfd/cache.c. > > > This patch gives explicit cast from integer value to void*. > > -chunk_nread = cache_bread_1(abfd, (char*)buf + nread, chunk_size); > +chunk_nread = cache_bread_1(abfd, (void*)((file_ptr)buf + nread), > chunk_size); > > My compiler refuse to compile the current source - just to make it work. > > thanks > Jerker Bäck
Attachment:
bfd_cache.patch
Description: Binary data
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |