summaryrefslogtreecommitdiff
path: root/libobjc/gc.c
diff options
context:
space:
mode:
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;
}