* diagnostic.c (output_pointer): Use HOST_PTR_PRINTF.
authorGabriel Dos Reis <gdr@integrable-solutions.net>
Wed, 30 Apr 2003 16:12:58 +0000 (16:12 +0000)
committerGabriel Dos Reis <gdr@gcc.gnu.org>
Wed, 30 Apr 2003 16:12:58 +0000 (16:12 +0000)
From-SVN: r66295

gcc/ChangeLog
gcc/diagnostic.c

index c072e62..46d899f 100644 (file)
@@ -1,3 +1,7 @@
+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>
 
        * doc/extend.texi (Other Builtins): Enclose multiple word data
index 901484a..e0e47e9 100644 (file)
@@ -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