Commit 776fd047 authored by Giovanni Bajo's avatar Giovanni Bajo Committed by Simon Kelley

Add cast to silence warning.

parent 20bccd49
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment