[server,proxy] fix function pointer warning

This commit is contained in:
akallabeth 2023-09-22 15:01:07 +02:00 committed by akallabeth
parent 6ff4db76bd
commit 7df03ed5b4

View File

@ -43,8 +43,12 @@ static UINT32 ChannelId_Hash(const void* key)
return *v;
}
static BOOL ChannelId_Compare(const UINT32* v1, const UINT32* v2)
static BOOL ChannelId_Compare(const void* pv1, const void* pv2)
{
const UINT32* v1 = pv1;
const UINT32* v2 = pv2;
WINPR_ASSERT(v1);
WINPR_ASSERT(v2);
return (*v1 == *v2);
}