dma(8): Fix i386 build.
authorSascha Wildner <saw@online.de>
Fri, 21 Feb 2014 17:25:25 +0000 (18:25 +0100)
committerSascha Wildner <saw@online.de>
Fri, 21 Feb 2014 17:25:25 +0000 (18:25 +0100)
libexec/dma/spool.c

index 416b5fa..2864909 100644 (file)
@@ -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);