* objc/objc-act.c (gen_declaration_1): Fix printf format.
authorUlrich Weigand <uweigand@de.ibm.com>
Thu, 25 Sep 2003 17:53:41 +0000 (17:53 +0000)
committerUlrich Weigand <uweigand@gcc.gnu.org>
Thu, 25 Sep 2003 17:53:41 +0000 (17:53 +0000)
From-SVN: r71783

gcc/ChangeLog
gcc/objc/objc-act.c

index b4fa4110b89445334f88b904a0c4d6af7233c1e9..d630c6e0c9f0d14dea24023fdd849bb7cdf8c6d8 100644 (file)
@@ -1,3 +1,7 @@
+2003-09-25  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * objc/objc-act.c (gen_declaration_1): Fix printf format.
+
 2003-09-25  Richard Earnshaw  <rearnsha@arm.com>
 
        * arm.c (all_cores): arm710t, arm720t and arm740t are all based on the
index 40c7004f7846d5155deb9fd24f5ef995d7c6cb9b..af294a930c595920a66df6b5ed00ef780e51f0a5 100644 (file)
@@ -8480,7 +8480,8 @@ gen_declaration_1 (tree atype_or_adecl, char *buf)
          strcat (buf, gen_declarator (declarator, declbuf, ""));
        }
       if (width)
-       sprintf (buf + strlen (buf), ": %lu", TREE_INT_CST_LOW (width));
+       sprintf (buf + strlen (buf), ": " HOST_WIDE_INT_PRINT_UNSIGNED, 
+                TREE_INT_CST_LOW (width));
     }
 
   else