fix a crash in widl on Vista x86

netzimme at aim.com netzimme at aim.com
Mon Nov 17 14:34:01 CST 2008


Changelog:
  Add a FIXME for the crash in widl on Vista x86.


See also
http://bugs.winehq.org/show_bug.cgi?id=16084

Thanks
Daniel Zimmermann
________________________________________________________________________
AOL eMail auf Ihrem Handy! Ab sofort können Sie auch unterwegs Ihre AOL 
email abrufen. Registrieren Sie sich jetzt kostenlos.
-------------- next part --------------
---
 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 fcb141e..45467e5 100644
--- a/tools/widl/typegen.c
+++ b/tools/widl/typegen.c
@@ -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;
-- 
1.5.4.950.ga176



More information about the wine-patches mailing list