* Fix compile time warning in bfd/libbfd.c
@ 2005-02-11 17:12 Nick Clifton
0 siblings, 0 replies; only message in thread
From: Nick Clifton @ 2005-02-11 17:12 UTC (permalink / raw)
To: binutils
Hi Guys,
I am applying the patch below to fix a compile time warning building
libbfd.c.
Cheers
Nick
bfd/ChangeLog
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.
Index: bfd/libbfd.c
===================================================================
RCS file: /cvs/src/src/bfd/libbfd.c,v
retrieving revision 1.34
diff -c -3 -p -r1.34 libbfd.c
*** bfd/libbfd.c 17 Jan 2005 17:12:00 -0000 1.34
--- bfd/libbfd.c 11 Feb 2005 15:57:29 -0000
*************** read_signed_leb128 (bfd *abfd ATTRIBUTE_
*** 897,903 ****
unsigned int * bytes_read_ptr)
{
bfd_vma result;
! int shift;
int num_read;
unsigned char byte;
--- 897,903 ----
unsigned int * bytes_read_ptr)
{
bfd_vma result;
! unsigned shift;
int num_read;
unsigned char byte;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-02-11 15:59 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-02-11 17:12 Fix compile time warning in bfd/libbfd.c Nick Clifton
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).