mirror of
https://github.com/pi-hole/dnsmasq.git
synced 2025-12-19 10:18:25 +00:00
Add cast to silence warning.
This commit is contained in:
committed by
Simon Kelley
parent
20bccd499f
commit
776fd04754
@@ -180,7 +180,7 @@ VerifyAlgCtx* verifyalg_alloc(int algo)
|
||||
for (i = 0; i < POOL_SIZE; ++i)
|
||||
if (!(pool_used & (1 << i)))
|
||||
{
|
||||
ret = &Pool[i];
|
||||
ret = (VerifyAlgCtx*)&Pool[i];
|
||||
pool_used |= 1 << i;
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user