$NetBSD: patch-af,v 1.1 2001/03/11 16:22:08 martin Exp $ --- clients/upslog.c.orig Tue Feb 27 05:27:32 2001 +++ clients/upslog.c Sun Mar 11 17:14:20 2001 @@ -222,7 +222,7 @@ else if (strncasecmp(cmpstr, "ETIME", 5) == 0) { char timebuf[16]; - snprintf (timebuf, sizeof(timebuf), "%ld", tod); + snprintf (timebuf, sizeof(timebuf), "%ld", (unsigned long)tod); strlcat(logbuffer, timebuf, sizeof(logbuffer)); logbufremain -= strlen(timebuf); }