aboutsummaryrefslogtreecommitdiff
path: root/libobjc/gc.c
diff options
context:
space:
mode:
authorayers <ayers@138bc75d-0d04-0410-961f-82ee72b054a4>2006-01-24 21:57:22 +0000
committerayers <ayers@138bc75d-0d04-0410-961f-82ee72b054a4>2006-01-24 21:57:22 +0000
commite23e7a9155a79d326a25567faa2d6b870d5f3423 (patch)
tree85fe1b7ee2078b5f5f57e2e3ff58875538077a45 /libobjc/gc.c
parent01473a49825d174b3e9a184e9da5c5ca009077e7 (diff)
2006-01-24 David Ayers <d.ayers@inode.at>
PR libobjc/13946 * configure.ac: Add include directives for --enable-objc-gc. * Makefile.in: Ditto. * configure: Regenerate. * gc.c (__objc_class_structure_encoding): Increment the used bytes instead of the local pointer to them. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@110182 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libobjc/gc.c')
-rw-r--r--libobjc/gc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libobjc/gc.c b/libobjc/gc.c
index 9bb11fc478f..399d1aa8d73 100644
--- a/libobjc/gc.c
+++ b/libobjc/gc.c
@@ -1,5 +1,5 @@
/* Basic data types for Objective C.
- Copyright (C) 1998, 2002 Free Software Foundation, Inc.
+ Copyright (C) 1998, 2002, 2004, 2005, 2006 Free Software Foundation, Inc.
Contributed by Ovidiu Predescu.
This file is part of GCC.
@@ -250,7 +250,7 @@ __objc_class_structure_encoding (Class class, char **type, int *size,
if (! class)
{
strcat (*type, "{");
- *current++;
+ (*current)++;
return;
}