test_get_iovec: fixed compiler warning

This commit is contained in:
Evgeny Grin (Karlson2k)
2021-04-01 21:33:46 +03:00
parent fb9100e3e7
commit d27d2b3857
+2 -2
View File
@@ -99,7 +99,7 @@ iovncont_free_callback (void *cls)
unsigned int i;
for (i = 0; i < TESTSTR_IOVCNT; ++i)
free (iov[i].iov_base);
free ((void*) iov[i].iov_base);
free (iov);
}
@@ -245,7 +245,7 @@ err_out:
for (j = 0; j < TESTSTR_IOVCNT; ++j)
{
if (NULL != iov[j].iov_base)
free (iov[j].iov_base);
free ((void*) iov[j].iov_base);
}
free (iov);
return MHD_NO;