Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Feb 2014 16:14:41 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r262298 - head/contrib/dma
Message-ID:  <201402211614.s1LGEfs4041230@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402211614.s1LGEfs4041230>