From 8cc12dc339eac99b5ea26707aebe9644881be6c3 Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Fri, 16 Oct 2009 20:56:15 +0200 Subject: [PATCH] widl: Arrays of pointers are always complex on 64-bit. --- tools/widl/typegen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/widl/typegen.c b/tools/widl/typegen.c index bcf2bf5bfc4..7ea3f269c54 100644 --- a/tools/widl/typegen.c +++ b/tools/widl/typegen.c @@ -482,7 +482,7 @@ unsigned char get_array_fc(const type_t *type) /* ref pointers cannot just be block copied. unique pointers to * interfaces need special treatment. either case means the array is * complex */ - if (get_pointer_fc(elem_type, NULL, FALSE) == RPC_FC_RP) + if (get_pointer_fc(elem_type, NULL, FALSE) == RPC_FC_RP || pointer_size != 4) fc = RPC_FC_BOGUS_ARRAY; break; case TGT_BASIC: -- 2.11.4.GIT