Add cast to silence warning.

This commit is contained in:
Giovanni Bajo
2012-04-26 14:37:10 +02:00
committed by Simon Kelley
parent 20bccd499f
commit 776fd04754

View File

@@ -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;
} }