Alexandre Julliard : widl: Arrays of pointers are always complex on 64-bit.

Alexandre Julliard julliard at winehq.org
Mon Oct 19 09:56:06 CDT 2009


Module: wine
Branch: master
Commit: 8cc12dc339eac99b5ea26707aebe9644881be6c3
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=8cc12dc339eac99b5ea26707aebe9644881be6c3

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Fri Oct 16 20:56:15 2009 +0200

widl: Arrays of pointers are always complex on 64-bit.

---

 tools/widl/typegen.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/tools/widl/typegen.c b/tools/widl/typegen.c
index bcf2bf5..7ea3f26 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:




More information about the wine-cvs mailing list