summaryrefslogtreecommitdiff
path: root/mail/dma/files/patch-spool.c
blob: c310e36ac39396bdddf1238d63c08732ed4ea6dd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- spool.c.orig	2020-02-05 10:59:09 UTC
+++ spool.c
@@ -419,7 +419,7 @@ flushqueue_since(unsigned int period)
 		return (0);
 
 	/* Did the flush file get touched within the last period seconds? */
-	if (st.st_mtim.tv_sec + period >= now.tv_sec)
+	if (st.st_mtim.tv_sec + (int)period >= now.tv_sec)
 		return (1);
 	else
 		return (0);