On Tue, Mar 18, 2014 at 03:30:09PM -0400, Christos Zoulas wrote: > Module Name: src > Committed By: christos > Date: Tue Mar 18 19:30:09 UTC 2014 > > Modified Files: > src/usr.sbin/rtsold: rtsold.c > > Log Message: > use time_t for time
It isn't a time_t type time. The value is actually an interval in microseconds and bounded to less than a second. The code is doing: long x = arc4random() % (1 * 1000000); That really shouldn't generate a compiler warning. David -- David Laight: da...@l8s.co.uk