Commit 4fdc14ca by Kaveh R. Ghazi Committed by Kaveh Ghazi

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

From-SVN: r46903
parent 50e9f73a
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.
......
......@@ -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));
}
......
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