From 14f03123951d1f861a5e38b27cbc2701e959b47e Mon Sep 17 00:00:00 2001 From: Greg Hudson Date: Sun, 4 Sep 2011 04:03:44 +0000 Subject: [PATCH] Fix pointer type in net-server.c:make_event() We use void pointers as temporaries in other uses of ADD(), so do so here as well. The type-safe type would be verto_ev **. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@25134 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/apputils/net-server.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/lib/apputils/net-server.c b/src/lib/apputils/net-server.c index 82c669c3a..9f53c76e6 100644 --- a/src/lib/apputils/net-server.c +++ b/src/lib/apputils/net-server.c @@ -486,7 +486,8 @@ static verto_ev * make_event(verto_ctx *ctx, verto_ev_flag flags, verto_callback callback, int sock, struct connection *conn, int addevent) { - verto_ev *ev, *tmp; + verto_ev *ev; + void *tmp; ev = verto_add_io(ctx, flags, callback, sock); if (!ev) { -- 2.26.2