aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-lang.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/c-lang.c')
-rw-r--r--gcc/c-lang.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/c-lang.c b/gcc/c-lang.c
index f8ab416..93437a3 100644
--- a/gcc/c-lang.c
+++ b/gcc/c-lang.c
@@ -230,7 +230,7 @@ static void
c_initialize_diagnostics (diagnostic_context *context)
{
pretty_printer *base = context->printer;
- c_pretty_printer pp = xmalloc (sizeof *pp);
+ c_pretty_printer *pp = xmalloc (sizeof (c_pretty_printer));
memcpy (pp_base (pp), base, sizeof (pretty_printer));
pp_c_pretty_printer_init (pp);
context->printer = (pretty_printer *) pp;