summaryrefslogtreecommitdiff
path: root/libobjc/objc
diff options
context:
space:
mode:
authorktietz <ktietz@138bc75d-0d04-0410-961f-82ee72b054a4>2008-06-10 12:37:51 +0000
committerktietz <ktietz@138bc75d-0d04-0410-961f-82ee72b054a4>2008-06-10 12:37:51 +0000
commit61b5267da8c51269354415bf4b3a933033f9480a (patch)
tree4bffe4a7edbb45a1aac069692d728ff3cb979816 /libobjc/objc
parentc9021e73584e339db41ca30e15270708ff7e5fbe (diff)
downloadgcc-61b5267da8c51269354415bf4b3a933033f9480a.tar.gz
2008-06-10 Kai Tietz <kai.tietz@onevision.com>
* Object.m (compare): Add type id. * objc/Object.h: Likewise. * archive.c (objc_read_class): Use size_t to extend version to be size of pointer scalar width. * sendmsg.c (rtx): Undefine it before redefinition. (__objc_print_dtable_stats): Cast arguments to long as intended. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@136617 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libobjc/objc')
-rw-r--r--libobjc/objc/Object.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libobjc/objc/Object.h b/libobjc/objc/Object.h
index 7b67f46615c..04d953d56b4 100644
--- a/libobjc/objc/Object.h
+++ b/libobjc/objc/Object.h
@@ -66,7 +66,7 @@ extern "C" {
- self;
- (unsigned int)hash;
- (BOOL)isEqual:anObject;
-- (int)compare:anotherObject;
+- (int)compare:(id)anotherObject;
/* Testing object type */
- (BOOL)isMetaClass;