schnorrsig bench: Suppress a stupid warning in MSVC

This commit is contained in:
Tim Ruffing 2022-03-09 21:08:03 +01:00
parent 09f3d71c51
commit bd81f4140a
1 changed files with 6 additions and 4 deletions

View File

@ -91,10 +91,12 @@ void run_schnorrsig_bench(int iters, int argc, char** argv) {
free((void *)data.msgs[i]);
free((void *)data.sigs[i]);
}
free(data.keypairs);
free(data.pk);
free(data.msgs);
free(data.sigs);
/* Casting to (void *) avoids a stupid warning in MSVC. */
free((void *)data.keypairs);
free((void *)data.pk);
free((void *)data.msgs);
free((void *)data.sigs);
secp256k1_context_destroy(data.ctx);
}