Module: wine Branch: master Commit: e77a079b279ba168ab9d2d66390d2f2247edfafd URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=e77a079b279ba168ab9d2d66...
Author: Dan Hipschman dsh@linux.ucla.edu Date: Tue Aug 15 18:32:09 2006 -0700
widl: Fix NdrComplexStructUnmarshall calls in generated 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;