Add cast to silence warning.

This commit is contained in:
Giovanni Bajo authored and Simon Kelley committed 2013-08-20 15:41:20 +01:00
1 parent 20bccd499f
commit 776fd04754
1 file changed
+1 -1
+1 -1
View File
@@ -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;
}