Commit 89cf2276 authored by Daniel Zimmermann's avatar Daniel Zimmermann Committed by Alexandre Julliard

widl: Fix check for interface type in get_size_procformatstring.

parent 0d6415df
......@@ -3137,7 +3137,7 @@ size_t get_size_procformatstring(const statement_list_t *stmts, type_pred_t pred
size += get_size_procformatstring(stmt->u.lib->stmts, pred) - 1;
continue;
}
else if (stmt->type != STMT_TYPE && stmt->u.type->type != RPC_FC_IP)
else if (stmt->type != STMT_TYPE || stmt->u.type->type != RPC_FC_IP)
continue;
iface = stmt->u.type;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment