svn commit: r246436 - projects/calloutng/sys/sys

Alexander Motin mav at FreeBSD.org
Wed Feb 6 19:16:26 UTC 2013


Author: mav
Date: Wed Feb  6 19:16:25 2013
New Revision: 246436
URL: http://svnweb.freebsd.org/changeset/base/246436

Log:
  Fix 32-bit build.  My bad.

Modified:
  projects/calloutng/sys/sys/time.h

Modified: projects/calloutng/sys/sys/time.h
==============================================================================
--- projects/calloutng/sys/sys/time.h	Wed Feb  6 19:03:48 2013	(r246435)
+++ projects/calloutng/sys/sys/time.h	Wed Feb  6 19:16:25 2013	(r246436)
@@ -142,7 +142,7 @@ static __inline sbintime_t
 bintime2sbintime(const struct bintime bt)
 {
 
-	return ((bt.sec << 32) + (bt.frac >> 32));
+	return (((sbintime_t)bt.sec << 32) + (bt.frac >> 32));
 }
 
 static __inline struct bintime 


More information about the svn-src-projects mailing list