aboutsummaryrefslogtreecommitdiff
path: root/gcc/objc/encoding.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/objc/encoding.c')
-rw-r--r--gcc/objc/encoding.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/gcc/objc/encoding.c b/gcc/objc/encoding.c
index 27b4b8a..7f64046 100644
--- a/gcc/objc/encoding.c
+++ b/gcc/objc/encoding.c
@@ -1,7 +1,6 @@
/* Encoding of types for Objective C.
- Copyright (C) 1993 Free Software Foundation, Inc.
-
-Author: Kresten Krab Thorup
+ Copyright (C) 1993, 1995 Free Software Foundation, Inc.
+ Contributed by Kresten Krab Thorup
This file is part of GNU CC.
@@ -64,7 +63,7 @@ objc_sizeof_type(const char* type)
break;
case _C_CLASS:
- return sizeof(Class*);
+ return sizeof(Class);
break;
case _C_SEL:
@@ -171,7 +170,7 @@ objc_alignof_type(const char* type)
break;
case _C_CLASS:
- return __alignof__(Class*);
+ return __alignof__(Class);
break;
case _C_SEL: