--- accel-ppp-1.13.0.orig/accel-pppd/ctrl/l2tp/l2tp.c
+++ accel-ppp-1.13.0/accel-pppd/ctrl/l2tp/l2tp.c
@@ -853,7 +853,7 @@
 	void *sessions = conn->sessions;
 
 	conn->sessions = NULL;
-	tdestroy(sessions, l2tp_session_free);
+	tdestroy(sessions, (void *) l2tp_session_free);
 	/* Let l2tp_session_free() handle the session counter and
 	 * the reference held by the tunnel.
 	 */
