From: Greg Hudson Date: Sun, 4 Sep 2011 04:03:44 +0000 (+0000) Subject: Fix pointer type in net-server.c:make_event() X-Git-Tag: krb5-1.10-alpha1~241 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=14f03123951d1f861a5e38b27cbc2701e959b47e;p=krb5.git 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 --- 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) {