$NetBSD: patch-aq,v 1.1 2001/03/19 13:23:36 dmcmahill Exp $

--- src/toss/history.c.orig	Fri Nov 17 16:18:08 2000
+++ src/toss/history.c	Mon Mar 19 08:18:47 2001
@@ -152,6 +152,6 @@
 
     /* Write MSGID line to history text file */
-    debug(7, "history: offset=%ld: %s %ld", offset, msgid, t);
-    ret = fprintf(hi_file, "%s\t%ld\n", msgid, t);
+    debug(7, "history: offset=%ld: %s %ld", offset, msgid, (long) t);
+    ret = fprintf(hi_file, "%s\t%ld\n", msgid, (long) t);
     if (ret == ERROR || fflush(hi_file) == ERROR)
     {
