diff options
author | bapt <bapt@FreeBSD.org> | 2014-02-21 16:14:40 +0000 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2014-02-21 16:14:40 +0000 |
commit | 623a3a0df4e55049c211fecaae18e148f138068f (patch) | |
tree | e87aa4c4c7d685f0768620fbba4689bb71605e7f | |
parent | dd12a82964ee267b88faa16dc9af3391cedb05dd (diff) | |
download | FreeBSD-src-623a3a0df4e55049c211fecaae18e148f138068f.zip FreeBSD-src-623a3a0df4e55049c211fecaae18e148f138068f.tar.gz |
Fix build on i386
-rw-r--r-- | contrib/dma/spool.c | 2 |
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); |