apply the typemask where previously forgotten

This commit is contained in:
Wolfgang (Blub) Bumiller 2012-11-11 23:39:40 +01:00
parent fc6bd54943
commit cdb7d06521

2
exec.c
View file

@ -375,7 +375,7 @@ static void trace_print_global(qc_program *prog, unsigned int glob, int vtype)
len = printf("$");
else
len = printf("%s ", name);
vtype = def->type;
vtype = def->type & DEF_TYPEMASK;
}
else
len = printf("[@%u] ", glob);