summaryrefslogtreecommitdiffstats
path: root/contrib/dma
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2014-02-21 16:14:40 +0000
committerbapt <bapt@FreeBSD.org>2014-02-21 16:14:40 +0000
commit623a3a0df4e55049c211fecaae18e148f138068f (patch)
treee87aa4c4c7d685f0768620fbba4689bb71605e7f /contrib/dma
parentdd12a82964ee267b88faa16dc9af3391cedb05dd (diff)
downloadFreeBSD-src-623a3a0df4e55049c211fecaae18e148f138068f.zip
FreeBSD-src-623a3a0df4e55049c211fecaae18e148f138068f.tar.gz
Fix build on i386
Diffstat (limited to 'contrib/dma')
-rw-r--r--contrib/dma/spool.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/dma/spool.c b/contrib/dma/spool.c
index 416b5fa..2864909 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);
OpenPOWER on IntegriCloud