* class.c (dump_array): Fix format specifier warning.

From-SVN: r46903
This commit is contained in:
Kaveh R. Ghazi 2001-11-09 23:08:36 +00:00 committed by Kaveh Ghazi
parent 50e9f73a3b
commit 4fdc14caaa
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
2001-11-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* class.c (dump_array): Fix format specifier warning.
2001-11-09 Neil Booth <neil@daikokuya.demon.co.uk>
* cp-lang.c (LANG_HOOKS_NAME): Override.

View file

@ -6805,7 +6805,7 @@ dump_array (stream, decl)
for (ix = 0, inits = TREE_OPERAND (DECL_INITIAL (decl), 1);
inits; ix++, inits = TREE_CHAIN (inits))
fprintf (stream, "%-4d %s\n", ix * elt,
fprintf (stream, "%-4ld %s\n", (long)(ix * elt),
expr_as_string (TREE_VALUE (inits), TFF_PLAIN_IDENTIFIER));
}