svn commit: r262298 - head/contrib/dma

Baptiste Daroussin bapt at FreeBSD.org
Fri Feb 21 16:14:41 UTC 2014


Author: bapt
Date: Fri Feb 21 16:14:40 2014
New Revision: 262298
URL: http://svnweb.freebsd.org/changeset/base/262298

Log:
  Fix build on i386

Modified:
  head/contrib/dma/spool.c

Modified: head/contrib/dma/spool.c
==============================================================================
--- head/contrib/dma/spool.c	Fri Feb 21 14:14:48 2014	(r262297)
+++ head/contrib/dma/spool.c	Fri Feb 21 16:14:40 2014	(r262298)
@@ -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);


More information about the svn-src-head mailing list