Commit 97ba7aa5 authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

rpcrt4: The offset to the complex pointer's description is signed.

parent c432514b
...@@ -156,7 +156,7 @@ static DWORD calc_arg_size(MIDL_STUB_MESSAGE *pStubMsg, PFORMAT_STRING pFormat) ...@@ -156,7 +156,7 @@ static DWORD calc_arg_size(MIDL_STUB_MESSAGE *pStubMsg, PFORMAT_STRING pFormat)
size = sizeof(void *); size = sizeof(void *);
break; break;
} }
size = calc_arg_size(pStubMsg, &pFormat[2] + *(WORD *)&pFormat[2]); size = calc_arg_size(pStubMsg, &pFormat[2] + *(const SHORT*)&pFormat[2]);
break; break;
case RPC_FC_STRUCT: case RPC_FC_STRUCT:
case RPC_FC_PSTRUCT: case RPC_FC_PSTRUCT:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment