mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-04-11 20:03:11 +00:00
[qfcc] Ensure function types are complete
All types need non-zero alignment, width and columns.
This commit is contained in:
parent
9add468462
commit
393f669864
1 changed files with 6 additions and 1 deletions
|
@ -816,7 +816,9 @@ find_generic_function (const expr_t *fexpr, genfunc_t **genfuncs,
|
|||
|
||||
type_t ftype = {
|
||||
.type = ev_func,
|
||||
|
||||
.alignment = 1,
|
||||
.width = 1,
|
||||
.columns = 1,
|
||||
.func = {
|
||||
.ret_type = return_type,
|
||||
.num_params = num_params,
|
||||
|
@ -870,6 +872,9 @@ find_function (const expr_t *fexpr, const expr_t *params)
|
|||
|
||||
type_t call_type = {
|
||||
.type = ev_func,
|
||||
.alignment = 1,
|
||||
.width = 1,
|
||||
.columns = 1,
|
||||
.func = {
|
||||
.num_params = num_params,
|
||||
.param_types = arg_types,
|
||||
|
|
Loading…
Reference in a new issue