Fix compile time warning building RX target.
authorNick Clifton <nickc@redhat.com>
Wed, 9 Dec 2015 12:01:19 +0000 (12:01 +0000)
committerNick Clifton <nickc@redhat.com>
Wed, 9 Dec 2015 12:01:19 +0000 (12:01 +0000)
gas/ChangeLog
gas/config/tc-rx.c

index 4dcb9cd0dc6b80d6223482e3219111f5960147b6..c08c8b32f237636016f3fbd1575163808a143b99 100644 (file)
@@ -1,3 +1,7 @@
+2015-12-09  Nick Clifton  <nickc@redhat.com>
+
+       * config/tc-rx.c (rx_relax_frag): Fix compile time warning.
+
 2015-12-08  Jan Beulich  <jbeulich@suse.com>
 
        * read.c (in_bss): New.
index 4697e95c4f1989a897a66b37fe84d7c4367151fc..82e94a73d22679afa42647a2a17b46e393900eeb 100644 (file)
@@ -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;