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

From-SVN: r71783
This commit is contained in:
Ulrich Weigand 2003-09-25 17:53:41 +00:00 committed by Ulrich Weigand
parent cc9556b924
commit 1992534f5d
2 changed files with 6 additions and 1 deletions

View 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

View 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