Dan Hipschman : widl: Check for interface pointers in pointer handling.

Alexandre Julliard julliard at wine.codeweavers.com
Tue Jun 26 07:12:00 CDT 2007


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

Author: Dan Hipschman <dsh at linux.ucla.edu>
Date:   Mon Jun 25 18:22:57 2007 -0700

widl: Check for interface pointers in pointer handling.

---

 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 8c76e6e..bb998fc 100644
--- a/tools/widl/typegen.c
+++ b/tools/widl/typegen.c
@@ -1051,7 +1051,7 @@ static int write_pointer_description_offsets(
     int written = 0;
     unsigned int align;
 
-    if (is_ptr(type))
+    if (is_ptr(type) && type->ref->type != RPC_FC_IP)
     {
         if (offset_in_memory && offset_in_buffer)
         {




More information about the wine-cvs mailing list