rpcrt4: Don't open code CONTAINING_RECORD().

This commit is contained in:
Michael Stefaniuc 2015-04-21 10:22:04 +02:00 committed by Alexandre Julliard
parent c0e876cb9e
commit 0a8427dc15
1 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,7 @@ typedef struct
static inline cstdstubbuffer_delegating_t *impl_from_delegating( IRpcStubBuffer *iface )
{
return (cstdstubbuffer_delegating_t*)((char *)iface - FIELD_OFFSET(cstdstubbuffer_delegating_t, stub_buffer));
return CONTAINING_RECORD(iface, cstdstubbuffer_delegating_t, stub_buffer);
}
HRESULT CStdStubBuffer_Construct(REFIID riid,