projects
/
platform
/
upstream
/
binutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ca724bf
)
Fix compile time warning by using an unsigned type.
author
Nick Clifton
<nickc@redhat.com>
Fri, 11 Feb 2005 15:59:51 +0000
(15:59 +0000)
committer
Nick Clifton
<nickc@redhat.com>
Fri, 11 Feb 2005 15:59:51 +0000
(15:59 +0000)
bfd/ChangeLog
patch
|
blob
|
history
bfd/libbfd.c
patch
|
blob
|
history
diff --git
a/bfd/ChangeLog
b/bfd/ChangeLog
index 099c7032e7731be5573d8041b9ada5395e108263..5e622c58ea1170a65cac977d0eaa063097cf43ea 100644
(file)
--- a/
bfd/ChangeLog
+++ b/
bfd/ChangeLog
@@
-1,5
+1,8
@@
2005-02-11 Nick Clifton <nickc@redhat.com>
+ * libbfd.c (read_signed_leb128): Use an unsigned type for 'shift'
+ to avoid a compile time warning.
+
* coff-alpha.c (alpha_adjust_reloc_in): Remove redundant test from
BFD_ASSERT.
diff --git
a/bfd/libbfd.c
b/bfd/libbfd.c
index b2f83c4503062b17763b54cf320283a3d3cc77e0..ec1864c68fae9dcf8eeb8238c4d23c4590c548ac 100644
(file)
--- 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;