mirror of
http://thekelleys.org.uk/git/dnsmasq.git
synced 2026-11-28 21:08:35 +00:00
Add cast to silence warning.
This commit is contained in:
1 parent
20bccd499f
commit
776fd04754
1 file changed
+1
-1
@@ -180,7 +180,7 @@ VerifyAlgCtx* verifyalg_alloc(int algo)
|
|||||||
for (i = 0; i < POOL_SIZE; ++i)
|
for (i = 0; i < POOL_SIZE; ++i)
|
||||||
if (!(pool_used & (1 << i)))
|
if (!(pool_used & (1 << i)))
|
||||||
{
|
{
|
||||||
ret = &Pool[i];
|
ret = (VerifyAlgCtx*)&Pool[i];
|
||||||
pool_used |= 1 << i;
|
pool_used |= 1 << i;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user