aboutsummaryrefslogtreecommitdiff
path: root/gcc/diagnostic.c
diff options
context:
space:
mode:
authorGabriel Dos Reis <gdr@integrable-solutions.net>2003-04-30 16:12:58 +0000
committerGabriel Dos Reis <gdr@gcc.gnu.org>2003-04-30 16:12:58 +0000
commit0e42348d22b0e82931e53569757fdf815082dfdd (patch)
treef6c59ac71988e87f1a890c4934ebb646ebbb1806 /gcc/diagnostic.c
parent55b15a115bbce3a6a276e542f76ec89f9b0b5206 (diff)
downloadgcc-0e42348d22b0e82931e53569757fdf815082dfdd.zip
gcc-0e42348d22b0e82931e53569757fdf815082dfdd.tar.gz
gcc-0e42348d22b0e82931e53569757fdf815082dfdd.tar.bz2
* diagnostic.c (output_pointer): Use HOST_PTR_PRINTF.
From-SVN: r66295
Diffstat (limited to 'gcc/diagnostic.c')
-rw-r--r--gcc/diagnostic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/diagnostic.c b/gcc/diagnostic.c
index 901484a..e0e47e9 100644
--- a/gcc/diagnostic.c
+++ b/gcc/diagnostic.c
@@ -352,7 +352,7 @@ output_long_hexadecimal (output_buffer *buffer, long unsigned int i)
static inline void
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