rpcrt4: Use CorrDespIncrement to skip over the correlation descriptor.

oldstable
Huw Davies 2015-07-13 13:11:38 +01:00 committed by Alexandre Julliard
parent a8f46c78ff
commit e8d1380aa7
1 changed files with 1 additions and 1 deletions

View File

@ -452,7 +452,7 @@ static inline BOOL IsConformanceOrVariancePresent(PFORMAT_STRING pFormat)
static inline PFORMAT_STRING SkipConformance(const PMIDL_STUB_MESSAGE pStubMsg, const PFORMAT_STRING pFormat)
{
return pStubMsg->fHasNewCorrDesc ? pFormat + 6 : pFormat + 4;
return pFormat + 4 + pStubMsg->CorrDespIncrement;
}
static PFORMAT_STRING ReadConformance(MIDL_STUB_MESSAGE *pStubMsg, PFORMAT_STRING pFormat)