widl: Missing size_is or length_is attributes should generate 0xffffffff for the correlation description.

This commit is contained in:
Rob Shearman 2007-09-17 23:24:14 +01:00 committed by Alexandre Julliard
parent c5c0a26f60
commit cf983bf15d
1 changed files with 6 additions and 0 deletions

View File

@ -494,6 +494,12 @@ static size_t write_conf_or_var_desc(FILE *file, const type_t *structure,
const char *operator_string = "no operators";
const expr_t *subexpr;
if (!expr)
{
print_file(file, 2, "NdrFcLong(0xffffffff),\t/* -1 */\n");
return 4;
}
if (!structure)
{
/* Top-level conformance calculations are done inline. */