http://sourceware.org/bugzilla/show_bug.cgi?id=12075
--- Comment #6 from sezeroz at gmail dot com 2010-10-29 19:31:05 UTC --- Changing the type of compressed_size from bfd_size_type to uLong should solve it because we are playing with zlib's rules here anyway. Like: Index: bfd/compress.c =================================================================== RCS file: /cvs/src/src/bfd/compress.c,v retrieving revision 1.5 diff -u -p -r1.5 compress.c --- bfd/compress.c 29 Oct 2010 12:10:23 -0000 1.5 +++ bfd/compress.c 29 Oct 2010 19:23:33 -0000 @@ -94,7 +94,7 @@ bfd_compress_section_contents (bfd *abfd bfd_set_error (bfd_error_invalid_operation); return FALSE; #else - bfd_size_type compressed_size; + uLong compressed_size; bfd_byte *compressed_buffer; compressed_size = compressBound (uncompressed_size) + 12; Compiled fine for me on fedora9 for x86_64-w64-mingw32. -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils