diff options
author | Ulrich Weigand <uweigand@de.ibm.com> | 2003-09-25 17:53:41 +0000 |
---|---|---|
committer | Ulrich Weigand <uweigand@gcc.gnu.org> | 2003-09-25 17:53:41 +0000 |
commit | 1992534f5dbf560289ae877b9ee96620949a745c (patch) | |
tree | 893b19bbb5b7c81fbf5baddeefc2416f316274d3 /gcc/objc | |
parent | cc9556b92431b1e4300338cf3363607c24738cba (diff) | |
download | gcc-1992534f5dbf560289ae877b9ee96620949a745c.zip gcc-1992534f5dbf560289ae877b9ee96620949a745c.tar.gz gcc-1992534f5dbf560289ae877b9ee96620949a745c.tar.bz2 |
* objc/objc-act.c (gen_declaration_1): Fix printf format.
From-SVN: r71783
Diffstat (limited to 'gcc/objc')
-rw-r--r-- | gcc/objc/objc-act.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/objc/objc-act.c b/gcc/objc/objc-act.c index 40c7004..af294a9 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 |