diff --git a/contrib/dma/spool.c b/contrib/dma/spool.c index 416b5fa8f0ee..2864909cf6a6 100644 --- a/contrib/dma/spool.c +++ b/contrib/dma/spool.c @@ -415,7 +415,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);