mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-16 03:56:43 +00:00
rpcrt4: Correctly handle simple ref pointers in calc_arg_size().
Signed-off-by: Zebediah Figura <z.figura12@gmail.com> Signed-off-by: Huw Davies <huw@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
be9f5f4aaf
commit
5be461cd71
|
@ -156,8 +156,7 @@ static DWORD calc_arg_size(MIDL_STUB_MESSAGE *pStubMsg, PFORMAT_STRING pFormat)
|
|||
case FC_RP:
|
||||
if (pFormat[1] & FC_SIMPLE_POINTER)
|
||||
{
|
||||
FIXME("Simple reference pointer (type %#x).\n", pFormat[2]);
|
||||
size = sizeof(void *);
|
||||
size = 0;
|
||||
break;
|
||||
}
|
||||
size = calc_arg_size(pStubMsg, &pFormat[2] + *(const SHORT*)&pFormat[2]);
|
||||
|
|
Loading…
Reference in a new issue