aboutsummaryrefslogtreecommitdiff
path: root/bfd/compress.c
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2010-10-29 19:56:00 +0000
committerH.J. Lu <hjl.tools@gmail.com>2010-10-29 19:56:00 +0000
commitae6a0217c573fdf00a40820a325cb988a03271d2 (patch)
treed8c679b7bcfef513faf8a61f2de3f865999e2321 /bfd/compress.c
parent3cbd1c0665a545ae6627ed4242c2939cd98f390d (diff)
downloadgdb-ae6a0217c573fdf00a40820a325cb988a03271d2.zip
gdb-ae6a0217c573fdf00a40820a325cb988a03271d2.tar.gz
gdb-ae6a0217c573fdf00a40820a325cb988a03271d2.tar.bz2
Use uLong on compressed_size when using zlib.
2010-10-29 Pawel Sikora <pluto@pld-linux.org> PR binutils/12075 * compress.c (bfd_compress_section_contents): Use uLong on compressed_size.
Diffstat (limited to 'bfd/compress.c')
-rw-r--r--bfd/compress.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/compress.c b/bfd/compress.c
index 171de77..bdaa3c4 100644
--- a/bfd/compress.c
+++ b/bfd/compress.c
@@ -94,7 +94,7 @@ bfd_compress_section_contents (bfd *abfd ATTRIBUTE_UNUSED,
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;