rpcrt4/tests: Cast-qual warnings fix.
This commit is contained in:
parent
df9715b1b0
commit
82a042d0df
|
@ -605,7 +605,7 @@ static void test_CreateStub(IPSFactoryBuffer *ppsf)
|
|||
IUnknown *obj = (IUnknown*)&vtbl;
|
||||
IRpcStubBuffer *pstub = create_stub(ppsf, &IID_if1, obj, S_OK);
|
||||
CStdStubBuffer *cstd_stub = (CStdStubBuffer*)pstub;
|
||||
CInterfaceStubHeader *header = ((CInterfaceStubHeader *)cstd_stub->lpVtbl) - 1;
|
||||
const CInterfaceStubHeader *header = ((const CInterfaceStubHeader *)cstd_stub->lpVtbl) - 1;
|
||||
|
||||
ok(IsEqualIID(header->piid, &IID_if1), "header iid differs\n");
|
||||
ok(cstd_stub->RefCount == 1, "ref count %d\n", cstd_stub->RefCount);
|
||||
|
|
|
@ -224,7 +224,7 @@ todo_wine {
|
|||
|
||||
static int deref_cmp(const void *s1, const void *s2, size_t num)
|
||||
{
|
||||
return memcmp(*(void**)s1, *(void**)s2, num);
|
||||
return memcmp(*(const void *const *)s1, *(const void *const *)s2, num);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue