Commit 0e42348d by Gabriel Dos Reis Committed by Gabriel Dos Reis

* diagnostic.c (output_pointer): Use HOST_PTR_PRINTF.

From-SVN: r66295
parent 55b15a11
2003-04-30 Gabriel Dos Reis <gdr@integrable-solutions.net>
* diagnostic.c (output_pointer): Use HOST_PTR_PRINTF.
2003-04-30 Andreas Schwab <schwab@suse.de> 2003-04-30 Andreas Schwab <schwab@suse.de>
* doc/extend.texi (Other Builtins): Enclose multiple word data * doc/extend.texi (Other Builtins): Enclose multiple word data
......
...@@ -352,7 +352,7 @@ output_long_hexadecimal (output_buffer *buffer, long unsigned int i) ...@@ -352,7 +352,7 @@ output_long_hexadecimal (output_buffer *buffer, long unsigned int i)
static inline void static inline void
output_pointer (output_buffer *buffer, void *p) output_pointer (output_buffer *buffer, void *p)
{ {
output_formatted_scalar (buffer, "%p", p); output_formatted_scalar (buffer, HOST_PTR_PRINTF, p);
} }
/* Append to BUFFER a string specified by its STARTING character /* Append to BUFFER a string specified by its STARTING character
......
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