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]) {