svn rev #25134: trunk/src/lib/apputils/

ghudson@MIT.EDU ghudson at MIT.EDU
Sun Sep 4 00:03:44 EDT 2011


http://src.mit.edu/fisheye/changelog/krb5/?cs=25134
Commit By: ghudson
Log Message:
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 **.


Changed Files:
U   trunk/src/lib/apputils/net-server.c
Modified: trunk/src/lib/apputils/net-server.c
===================================================================
--- trunk/src/lib/apputils/net-server.c	2011-09-04 03:33:35 UTC (rev 25133)
+++ trunk/src/lib/apputils/net-server.c	2011-09-04 04:03:44 UTC (rev 25134)
@@ -486,7 +486,8 @@
 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) {




More information about the cvs-krb5 mailing list