diff options
Diffstat (limited to 'gcc/cp')
-rw-r--r-- | gcc/cp/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/cp/spew.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 1c61ab2..4246ac6 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,7 @@ +Tue Oct 17 20:19:06 2000 Brad Lucier <lucier@math.purdue.edu> + + * spew.c (snarf_defarg): Cast 2nd arg to obstack_blank to (int). + 2000-10-17 Joseph S. Myers <jsm28@cam.ac.uk> * decl.c (WINT_TYPE): Define. diff --git a/gcc/cp/spew.c b/gcc/cp/spew.c index 110fdca..1183dd111 100644 --- a/gcc/cp/spew.c +++ b/gcc/cp/spew.c @@ -1240,7 +1240,7 @@ snarf_defarg () /* Unget the last token. */ push_token ((struct token *) (obstack_base (&inline_text_obstack) + point)); /* This is the documented way to shrink a growing obstack block. */ - obstack_blank (&inline_text_obstack, - sizeof (struct token)); + obstack_blank (&inline_text_obstack, - (int) sizeof (struct token)); done: len = obstack_object_size (&inline_text_obstack); |