From 04d76ce1cf3a5b8a97658f306a706f02500b80b8 Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Thu, 16 May 2002 23:32:03 +0000 Subject: [PATCH] build the method_list struct with the correct type --- tools/qfcc/source/type.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/qfcc/source/type.c b/tools/qfcc/source/type.c index 5d916a4bc..9a2cdd32d 100644 --- a/tools/qfcc/source/type.c +++ b/tools/qfcc/source/type.c @@ -421,7 +421,7 @@ init_types (void) chain_type (&type_SEL); type_method = new_struct (0); - new_struct_field (type_method, &type_SEL, "method_name", vis_public); + new_struct_field (type_method, type_SEL.aux_type, "method_name", vis_public); new_struct_field (type_method, &type_string, "method_types", vis_public); new_struct_field (type_method, &type_IMP, "method_imp", vis_public); chain_type (type_method);