widl: Write-strings warning fix.

This commit is contained in:
Andrew Talbot 2006-08-24 20:50:10 +01:00 committed by Alexandre Julliard
parent 167f9f9aba
commit daa2f97bdc
1 changed files with 1 additions and 1 deletions

View File

@ -845,7 +845,7 @@ uniondef: tUNION t_ident '{' fields '}' { $$ = get_typev(RPC_FC_NON_ENCAPSULATE
m_ident '{' cases '}' { var_t *u = $7;
$$ = get_typev(RPC_FC_ENCAPSULATED_UNION, $2, tsUNION);
$$->kind = TKIND_UNION;
if (!u) u = make_var("tagged_union");
if (!u) u = make_var( xstrdup("tagged_union") );
u->type = make_type(RPC_FC_NON_ENCAPSULATED_UNION, NULL);
u->type->kind = TKIND_UNION;
u->type->fields = $9;