Patch for bfd/cache.c - explicit cast to void*
Jerker Bäck
jerker.back@gmail.com
Sat Feb 28 18:47:00 GMT 2009
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
More information about the Binutils
mailing list