widl [2/4]: Fix NdrComplexStructUnmarshall calls in generated code
Dan Hipschman
dsh at linux.ucla.edu
Tue Aug 15 20:32:09 CDT 2006
This patch corrects the code generated for NdrComplexStructUnmarshall calls.
ChangeLog:
* Generate correct args for NdrComplexStructUnmarshall in proxy code
---
tools/widl/proxy.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/tools/widl/proxy.c b/tools/widl/proxy.c
index 642afbe..4a4e080 100644
--- a/tools/widl/proxy.c
+++ b/tools/widl/proxy.c
@@ -486,7 +486,7 @@ static void unmarshall_copy_arg( var_t *
break;
case RPC_FC_BOGUS_STRUCT:
- print_proxy( "NdrComplexStructUnmarshall(&_StubMsg, (unsigned char*)%s, ", arg->name );
+ print_proxy( "NdrComplexStructUnmarshall(&_StubMsg, (unsigned char**)&%s, ", arg->name );
fprintf(proxy, "&__MIDL_TypeFormatString.Format[%d], 0 );\n", index );
break;
More information about the wine-patches
mailing list