From 236d1439f36030d1e8aa81c81d98e5981a83b166 Mon Sep 17 00:00:00 2001 From: Jeffrey A Law Date: Wed, 8 Sep 1999 08:24:39 +0000 Subject: [PATCH] * cpplib.c (cpp_push_buffer): Fix order of arguments. From-SVN: r29201 --- gcc/ChangeLog | 4 ++++ gcc/cpplib.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index fe68be0b964..2ddf77ef159 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +Wed Sep 8 02:23:08 1999 Jeffrey A Law (law@cygnus.com) + + * cpplib.c (cpp_push_buffer): Fix order of arguments. + Wed Sep 8 04:44:09 1999 Alexandre Oliva * rtl.h (obstack_alloc_rtx): Removed, it's now static in diff --git a/gcc/cpplib.c b/gcc/cpplib.c index 1c85ba791c5..4ac7f517627 100644 --- a/gcc/cpplib.c +++ b/gcc/cpplib.c @@ -718,7 +718,7 @@ cpp_push_buffer (pfile, buffer, length) return NULL; } - new = (cpp_buffer *) xcalloc (sizeof (cpp_buffer), 1); + new = (cpp_buffer *) xcalloc (1, sizeof (cpp_buffer)); new->if_stack = pfile->if_stack; new->cleanup = null_cleanup; -- 2.30.2