From 906bacc0eaac3681a7d6da1bde73dcef7fd3ade7 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Sat, 4 Apr 2015 07:52:55 -0700 Subject: [PATCH] Replace uncompressed_size_buffer with compressed_size_buffer --- bfd/compress.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/bfd/compress.c b/bfd/compress.c index 6621dffb279..56d49fe30b6 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;; } -- 2.30.2