]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Some people pointed out long is 32-bit on some arches, while time_t is
authorDimitry Andric <dim@FreeBSD.org>
Mon, 19 Dec 2011 20:29:50 +0000 (20:29 +0000)
committerDimitry Andric <dim@FreeBSD.org>
Mon, 19 Dec 2011 20:29:50 +0000 (20:29 +0000)
commit655353a78ceb330b89bf84d8ef38bada92fe022b
treed7fe90d2ca4c3332900e2e185a2189c4bdcab062
parent167057914b42f2ab587d9e215158d07efb1a9cf4
Some people pointed out long is 32-bit on some arches, while time_t is
64-bit, so better cast time_t to intmax_t, and use the appropriate
printf format strings.

MFC after: 1 week
usr.sbin/timed/timed/correct.c
usr.sbin/timed/timed/readmsg.c