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

This commit is contained in:
Francois Gouget 2011-11-15 23:57:44 +01:00 committed by Alexandre Julliard
parent c432514b39
commit 97ba7aa521
1 changed files with 1 additions and 1 deletions

View File

@ -156,7 +156,7 @@ static DWORD calc_arg_size(MIDL_STUB_MESSAGE *pStubMsg, PFORMAT_STRING pFormat)
size = sizeof(void *);
break;
}
size = calc_arg_size(pStubMsg, &pFormat[2] + *(WORD *)&pFormat[2]);
size = calc_arg_size(pStubMsg, &pFormat[2] + *(const SHORT*)&pFormat[2]);
break;
case RPC_FC_STRUCT:
case RPC_FC_PSTRUCT: