summaryrefslogtreecommitdiff
path: root/gcc/diagnostic.c
diff options
context:
space:
mode:
authorgdr <gdr@138bc75d-0d04-0410-961f-82ee72b054a4>2003-04-30 16:12:58 +0000
committergdr <gdr@138bc75d-0d04-0410-961f-82ee72b054a4>2003-04-30 16:12:58 +0000
commitb1d3f307aef63da15185e6944d47070b9c4f405b (patch)
treef6c59ac71988e87f1a890c4934ebb646ebbb1806 /gcc/diagnostic.c
parent904536c9f7f1a0184c5a9941f0aa41581e06a53d (diff)
downloadgcc-b1d3f307aef63da15185e6944d47070b9c4f405b.tar.gz
* diagnostic.c (output_pointer): Use HOST_PTR_PRINTF.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66295 138bc75d-0d04-0410-961f-82ee72b054a4
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 901484a1243..e0e47e938bc 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