$OpenBSD: patch-src_admin_c,v 1.3 2005/04/16 15:37:31 sturm Exp $
--- src/admin.c.orig	Sat Dec 11 00:56:55 2004
+++ src/admin.c	Mon Mar  7 20:20:46 2005
@@ -651,7 +651,7 @@ static void command_show_listeners(clien
             xmlNewChild(listenernode, NULL, "UserAgent", "Unknown");
         }
         memset(buf, '\000', sizeof(buf));
-        snprintf(buf, sizeof(buf)-1, "%ld", now - current->con->con_time);
+        snprintf(buf, sizeof(buf)-1, "%ld", (long int)(now - current->con->con_time));
         xmlNewChild(listenernode, NULL, "Connected", buf);
         memset(buf, '\000', sizeof(buf));
         snprintf(buf, sizeof(buf)-1, "%lu", current->con->id);
