* Fix compile time warning in tc-xtensa.c
@ 2005-04-20 15:26 Nick Clifton
0 siblings, 0 replies; only message in thread
From: Nick Clifton @ 2005-04-20 15:26 UTC (permalink / raw)
To: binutils
Hi Guys,
I am checking in the patch below to fix this compile time warning
message encountered whilst building the xtensa toolchain:
.../config/tc-xtensa.c: In function `get_aligned_diff':
.../config/tc-xtensa.c:8194: warning: comparison between signed and unsigned
Cheers
Nick
gas/ChangeLog
2005-04-20 Nick Clifton <nickc@redhat.com>
* config/tc-xtensa.c (get_aligned_diff): Change type of
branch_align to offsetT so that its signedness matches that of
target_size.
Index: gas/config/tc-xtensa.c
===================================================================
RCS file: /cvs/src/src/gas/config/tc-xtensa.c,v
retrieving revision 1.33
diff -c -3 -p -r1.33 tc-xtensa.c
*** gas/config/tc-xtensa.c 15 Apr 2005 04:15:02 -0000 1.33
--- gas/config/tc-xtensa.c 20 Apr 2005 15:24:02 -0000
*************** get_aligned_diff (fragS *fragP, addressT
*** 8179,8185 ****
bfd_boolean is_loop;
int align_power;
offsetT opt_diff;
! addressT branch_align;
assert (fragP->fr_type == rs_machine_dependent);
switch (fragP->fr_subtype)
--- 8179,8185 ----
bfd_boolean is_loop;
int align_power;
offsetT opt_diff;
! offsetT branch_align;
assert (fragP->fr_type == rs_machine_dependent);
switch (fragP->fr_subtype)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-04-20 15:26 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-04-20 15:26 Fix compile time warning in tc-xtensa.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).