Signed-off-by: Francois Gouget fgouget@free.fr --- tools/widl/server.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/widl/server.c b/tools/widl/server.c index cce880bbf66..32dd7528c2f 100644 --- a/tools/widl/server.c +++ b/tools/widl/server.c @@ -157,7 +157,7 @@ static void write_function_stub(const type_t *iface, const var_t *func, unsigned /* Call the real server function */ if (is_context_handle(ret_type)) { - print_server("__frame->_RetVal = NDRSContextUnmarshall((char*)0, _pRpcMessage->DataRepresentation);\n"); + print_server("__frame->_RetVal = NDRSContextUnmarshall(NULL, _pRpcMessage->DataRepresentation);\n"); print_server("*(("); write_type_decl(server, type_function_get_ret(func->declspec.type), NULL); fprintf(server, "*)NDRSContextValue(__frame->_RetVal)) = ");