Commit 1992534f by Ulrich Weigand Committed by Ulrich Weigand

* objc/objc-act.c (gen_declaration_1): Fix printf format.

From-SVN: r71783
parent cc9556b9
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> 2003-09-25 Richard Earnshaw <rearnsha@arm.com>
* arm.c (all_cores): arm710t, arm720t and arm740t are all based on the * arm.c (all_cores): arm710t, arm720t and arm740t are all based on the
......
...@@ -8480,7 +8480,8 @@ gen_declaration_1 (tree atype_or_adecl, char *buf) ...@@ -8480,7 +8480,8 @@ gen_declaration_1 (tree atype_or_adecl, char *buf)
strcat (buf, gen_declarator (declarator, declbuf, "")); strcat (buf, gen_declarator (declarator, declbuf, ""));
} }
if (width) 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 else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment