[rpcrt4] Fix RpcMgmtSetServerStackSize prototype

Michael Stefaniuc mstefani at redhat.com
Wed Sep 27 07:56:15 CDT 2006


Thomas Weidenmueller wrote:
> The parameter of RpcMgmtSetServerStackSize needs to be unsigned long,
> not unsigned int.
Won't work on Win64. long is 32bits on Win32 and Win64. On Linux64 long
is 64bits.

bye
	michael

> ------------------------------------------------------------------------
> 
> Index: dlls/rpcrt4/rpc_server.c
> ===================================================================
> RCS file: /home/wine/wine/dlls/rpcrt4/rpc_server.c,v
> retrieving revision 1.58
> diff -u -r1.58 rpc_server.c
> --- dlls/rpcrt4/rpc_server.c	30 Jun 2006 19:16:38 -0000	1.58
> +++ dlls/rpcrt4/rpc_server.c	27 Sep 2006 12:38:00 -0000
> @@ -1008,7 +1008,7 @@
>  /***********************************************************************
>   *             RpcMgmtSetServerStackSize (RPCRT4.@)
>   */
> -RPC_STATUS WINAPI RpcMgmtSetServerStackSize(unsigned int ThreadStackSize)
> +RPC_STATUS WINAPI RpcMgmtSetServerStackSize(unsigned long ThreadStackSize)
>  {
>    FIXME("(0x%x): stub\n", ThreadStackSize);
>    return RPC_S_OK;


-- 
Michael Stefaniuc               Tel.: +49-711-96437-199
Sr. Network Engineer            Fax.: +49-711-96437-111
Red Hat GmbH                    Email: mstefani at redhat.com
Hauptstaetterstr. 58            http://www.redhat.de/
D-70178 Stuttgart



More information about the wine-devel mailing list