From 1992534f5dbf560289ae877b9ee96620949a745c Mon Sep 17 00:00:00 2001 From: Ulrich Weigand Date: Thu, 25 Sep 2003 17:53:41 +0000 Subject: [PATCH] * objc/objc-act.c (gen_declaration_1): Fix printf format. From-SVN: r71783 --- gcc/ChangeLog | 4 ++++ gcc/objc/objc-act.c | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b4fa4110b89..d630c6e0c9f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2003-09-25 Ulrich Weigand + + * objc/objc-act.c (gen_declaration_1): Fix printf format. + 2003-09-25 Richard Earnshaw * arm.c (all_cores): arm710t, arm720t and arm740t are all based on the diff --git a/gcc/objc/objc-act.c b/gcc/objc/objc-act.c index 40c7004f784..af294a930c5 100644 --- a/gcc/objc/objc-act.c +++ b/gcc/objc/objc-act.c @@ -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 -- 2.30.2