aboutsummaryrefslogtreecommitdiff
path: root/libobjc/gc.c
diff options
context:
space:
mode:
authorDavid Ayers <d.ayers@inode.at>2006-01-24 21:57:22 +0000
committerDavid Ayers <d.ayers@inode.at>2006-01-24 21:57:22 +0000
commitf45d912c97133e884dd725bc2b82e1e6603b6fbf (patch)
tree85fe1b7ee2078b5f5f57e2e3ff58875538077a45 /libobjc/gc.c
parentc5f71e870caf9a5cf15e96a4db67df24c436ad1e (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: https://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;
}