aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2015-04-04 07:52:55 -0700
committerH.J. Lu <hjl.tools@gmail.com>2015-04-04 07:52:55 -0700
commit906bacc0eaac3681a7d6da1bde73dcef7fd3ade7 (patch)
treea114bfbf4310196ecd1f5248ade9f53ffc649c68
parent8bed4e0f7b0f82bff55798465bfef2a6986758d3 (diff)
downloadgdb-906bacc0eaac3681a7d6da1bde73dcef7fd3ade7.zip
gdb-906bacc0eaac3681a7d6da1bde73dcef7fd3ade7.tar.gz
gdb-906bacc0eaac3681a7d6da1bde73dcef7fd3ade7.tar.bz2
Replace uncompressed_size_buffer with compressed_size_buffer
-rw-r--r--bfd/compress.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/bfd/compress.c b/bfd/compress.c
index 6621dff..56d49fe 100644
--- a/bfd/compress.c
+++ b/bfd/compress.c
@@ -60,23 +60,23 @@ decompress_contents (bfd_byte *compressed_buffer,
}
static bfd_size_type
-get_uncompressed_size (bfd_byte *uncompressed_size_buffer)
+get_uncompressed_size (bfd_byte *compressed_size_buffer)
{
- bfd_size_type uncompressed_size = uncompressed_size_buffer[0];
+ bfd_size_type uncompressed_size = compressed_size_buffer[0];
uncompressed_size <<= 8;
- uncompressed_size += uncompressed_size_buffer[1];
+ uncompressed_size += compressed_size_buffer[1];
uncompressed_size <<= 8;
- uncompressed_size += uncompressed_size_buffer[2];
+ uncompressed_size += compressed_size_buffer[2];
uncompressed_size <<= 8;
- uncompressed_size += uncompressed_size_buffer[3];
+ uncompressed_size += compressed_size_buffer[3];
uncompressed_size <<= 8;
- uncompressed_size += uncompressed_size_buffer[4];
+ uncompressed_size += compressed_size_buffer[4];
uncompressed_size <<= 8;
- uncompressed_size += uncompressed_size_buffer[5];
+ uncompressed_size += compressed_size_buffer[5];
uncompressed_size <<= 8;
- uncompressed_size += uncompressed_size_buffer[6];
+ uncompressed_size += compressed_size_buffer[6];
uncompressed_size <<= 8;
- uncompressed_size += uncompressed_size_buffer[7];
+ uncompressed_size += compressed_size_buffer[7];
return uncompressed_size;;
}