aboutsummaryrefslogtreecommitdiff
path: root/libobjc/sendmsg.c
diff options
context:
space:
mode:
authorDiego Novillo <dnovillo@redhat.com>2002-09-15 18:52:06 +0000
committerDiego Novillo <dnovillo@redhat.com>2002-09-15 18:52:06 +0000
commitba302b5767e50d94cb6f65497b17ef0b6adff7b2 (patch)
tree625190ec90943d9c529029cbe701637069bed251 /libobjc/sendmsg.c
parentf6dcd8aa635a5501b6687e1bcb77829a6e179f1c (diff)
Mainline merge as of 2002-09-15.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/tree-ssa-20020619-branch@57168 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libobjc/sendmsg.c')
-rw-r--r--libobjc/sendmsg.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libobjc/sendmsg.c b/libobjc/sendmsg.c
index 06fc9ba193e..6ef711b50d3 100644
--- a/libobjc/sendmsg.c
+++ b/libobjc/sendmsg.c
@@ -76,7 +76,7 @@ static id
__objc_block_forward (id, SEL, ...);
static Method_t search_for_method_in_hierarchy (Class class, SEL sel);
Method_t search_for_method_in_list (MethodList_t list, SEL op);
-id nil_method (id, SEL, ...);
+id nil_method (id, SEL);
/* Given a selector, return the proper forwarding implementation. */
__inline__
@@ -197,7 +197,7 @@ objc_msg_lookup (id receiver, SEL op)
return result;
}
else
- return nil_method;
+ return (IMP)nil_method;
}
IMP
@@ -206,7 +206,7 @@ objc_msg_lookup_super (Super_t super, SEL sel)
if (super->self)
return get_imp (super->class, sel);
else
- return nil_method;
+ return (IMP)nil_method;
}
int method_get_sizeof_arguments (Method *);