PR 1300
authorNick Clifton <nickc@redhat.com>
Tue, 27 Dec 2005 11:55:37 +0000 (11:55 +0000)
committerNick Clifton <nickc@redhat.com>
Tue, 27 Dec 2005 11:55:37 +0000 (11:55 +0000)
* config/tc-arm.c (md_apply_fix): Fix casts to match type in printf format.

gas/ChangeLog
gas/config/tc-arm.c

index eecd4ef265f55fc8bb20be70963c0612023c3269..47b1e0762f37ec2fd58ab5951453a1590bccecf5 100644 (file)
@@ -1,3 +1,9 @@
+2005-12-27  James Troup  <james@nocrew.org>
+
+       PR 1300
+       * config/tc-arm.c (md_apply_fix): Fix casts to match type in
+       printf format.
+
 2005-12-27  Alan Modra  <amodra@bigpond.net.au>
 
        * Makefile.am: Run "make dep-am".
index a2baa32ae3aa1b7a36cd8515d60f21c74810d7c4..4ea80b9be0d6673254bf18d91fc7e71c6cac16c4 100644 (file)
@@ -11747,8 +11747,9 @@ md_apply_fix (fixS *    fixP,
          if (value & 3)
            as_bad_where (fixP->fx_file, fixP->fx_line,
                          _("invalid offset, target not word aligned (0x%08lX)"),
-                         (((unsigned int) fixP->fx_frag->fr_address
-                           + (unsigned int) fixP->fx_where) & ~3) + value);
+                         (((unsigned long) fixP->fx_frag->fr_address
+                           + (unsigned long) fixP->fx_where) & ~3)
+                         + (unsigned long) value);
 
          if (value & ~0x3fc)
            as_bad_where (fixP->fx_file, fixP->fx_line,