From ccf2a0b34afa1b09ee0c1581f6cf3d5b6b332846 Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Fri, 31 May 2002 05:04:16 +0000 Subject: [PATCH] allocate defs using the correct size from the type --- tools/qfcc/source/pr_def.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/qfcc/source/pr_def.c b/tools/qfcc/source/pr_def.c index 049287116..d59f972f2 100644 --- a/tools/qfcc/source/pr_def.c +++ b/tools/qfcc/source/pr_def.c @@ -236,7 +236,7 @@ PR_NewDef (type_t *type, const char *name, def_t *scope) int PR_NewLocation (type_t *type) { - int size = pr_type_size[type->type]; + int size = type_size (type); locref_t *loc; if (free_locs[size]) {