summaryrefslogtreecommitdiff
path: root/bfd/libbfd.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2005-02-11 15:59:51 +0000
committerNick Clifton <nickc@redhat.com>2005-02-11 15:59:51 +0000
commit4b74b98302cefd45d7a05d33698f693bd6ac3379 (patch)
tree0a603ba2135f2a948ee62ac00487672d6a552c20 /bfd/libbfd.c
parentca724bf2dab9f9cc4459320f696720b064ebfed9 (diff)
downloadbinutils-4b74b98302cefd45d7a05d33698f693bd6ac3379.tar.gz
binutils-4b74b98302cefd45d7a05d33698f693bd6ac3379.tar.bz2
binutils-4b74b98302cefd45d7a05d33698f693bd6ac3379.zip
Fix compile time warning by using an unsigned type.
Diffstat (limited to 'bfd/libbfd.c')
-rw-r--r--bfd/libbfd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/libbfd.c b/bfd/libbfd.c
index b2f83c45030..ec1864c68fa 100644
--- a/bfd/libbfd.c
+++ b/bfd/libbfd.c
@@ -897,7 +897,7 @@ read_signed_leb128 (bfd *abfd ATTRIBUTE_UNUSED,
unsigned int * bytes_read_ptr)
{
bfd_vma result;
- int shift;
+ unsigned shift;
int num_read;
unsigned char byte;