mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-02-25 13:11:00 +00:00
[qfcc] Use default_type on generic spec
Needed for implied int return types (unsigned etc).
This commit is contained in:
parent
388a1c6c28
commit
c830bb55c3
1 changed files with 1 additions and 0 deletions
|
@ -288,6 +288,7 @@ parse_generic_function (const char *name, specifier_t spec, rua_ctx_t *ctx)
|
|||
if (!spec.is_generic) {
|
||||
return nullptr;
|
||||
}
|
||||
spec = default_type (spec, spec.sym);
|
||||
// fake parameter for the return type
|
||||
param_t ret_param = {
|
||||
.next = spec.params,
|
||||
|
|
Loading…
Reference in a new issue