From 8a314e9e874a0863c0835085a9a64be1b4c5f823 Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Sun, 13 Feb 2011 16:05:50 +0900 Subject: [PATCH] Class pointers need to be directly addressable. --- tools/qfcc/source/class.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/qfcc/source/class.c b/tools/qfcc/source/class.c index 46917e6b7..41793c649 100644 --- a/tools/qfcc/source/class.c +++ b/tools/qfcc/source/class.c @@ -1019,7 +1019,7 @@ class_pointer_symbol (class_t *class) sym = make_symbol (va ("_OBJ_CLASS_POINTER_%s", class->name), &type_ClassPtr, - pr.far_data, st_static); + pr.near_data, st_static); if (!sym->table) symtab_addsymbol (pr.symtab, sym); def = sym->s.def;