summaryrefslogtreecommitdiff
path: root/gcc/cp
diff options
context:
space:
mode:
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>2000-10-18 02:19:56 +0000
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>2000-10-18 02:19:56 +0000
commit4f57b5323450b6ea470831925e7601e0450ea4f1 (patch)
treeb8cfc2ee245d4dac9cb407ae75e668addec80df4 /gcc/cp
parentc9cc98e1b9e15da96c04e8c117a2b67e5f4b372b (diff)
downloadgcc-4f57b5323450b6ea470831925e7601e0450ea4f1.tar.gz
* spew.c (snarf_defarg): Cast 2nd arg to obstack_blank to (int).
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36921 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cp')
-rw-r--r--gcc/cp/ChangeLog4
-rw-r--r--gcc/cp/spew.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index 1c61ab2393c..4246ac604a1 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 110fdcaeb23..1183dd11177 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);