From c192dad24398767edd64ab7e5e3a72df9265bda0 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Wed, 9 Dec 2015 12:01:19 +0000 Subject: [PATCH] Fix compile time warning building RX target. --- gas/ChangeLog | 4 ++++ gas/config/tc-rx.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index 4dcb9cd..c08c8b3 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,7 @@ +2015-12-09 Nick Clifton + + * config/tc-rx.c (rx_relax_frag): Fix compile time warning. + 2015-12-08 Jan Beulich * read.c (in_bss): New. diff --git a/gas/config/tc-rx.c b/gas/config/tc-rx.c index 4697e95..82e94a7 100644 --- a/gas/config/tc-rx.c +++ b/gas/config/tc-rx.c @@ -1552,7 +1552,7 @@ rx_relax_frag (segT segment ATTRIBUTE_UNUSED, fragS * fragP, long stretch) if (fragP->fr_subtype >= next_size) fragP->fr_subtype = 0; tprintf ("\033[34m -> mypc %lu next_size %u new %d old %d delta %d (fetchalign)\033[0m\n", - mypc & 7, + (unsigned long) (mypc & 7), next_size, fragP->fr_subtype, oldsize, fragP->fr_subtype-oldsize); newsize = fragP->fr_subtype; -- 2.7.4