widl: Properly size the return value procformat.
This commit is contained in:
parent
6f85f989f5
commit
90decb631c
|
@ -1892,8 +1892,13 @@ size_t get_size_procformatstring(const ifref_t *ifaces)
|
|||
}
|
||||
}
|
||||
|
||||
var = func->def;
|
||||
/* return value size */
|
||||
size += 2; /* FIXME: determine real size */
|
||||
if (is_void(var->type, NULL))
|
||||
size += 2;
|
||||
else
|
||||
size += get_size_procformatstring_var(var);
|
||||
|
||||
func = PREV_LINK(func);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue