Skip to content

Commit 232e5a4

Browse files
olszomalmtrojnar
authored andcommitted
Fix mismatched prototype for ENGINE_CTX_ctrl to silence MSVC warning
1 parent 54313f2 commit 232e5a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/eng_back.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ static int ENGINE_CTX_ctrl_set_vlog(ENGINE_CTX *ctx, void *cb)
257257
return 1;
258258
}
259259

260-
int ENGINE_CTX_ctrl(ENGINE_CTX *ctx, int cmd, long i, void *p, void (*f)())
260+
int ENGINE_CTX_ctrl(ENGINE_CTX *ctx, int cmd, long i, void *p, void (*f)(void))
261261
{
262262
(void)i; /* We don't currently take integer parameters */
263263
(void)f; /* We don't currently take callback parameters */

0 commit comments

Comments
 (0)