cfengine/core — pull request #824 by awsiv (2013-07-19 17:04:56+00:00)
Title: Properly cast time_t values while printing.

On RHEL 4, 32 bit,

$ cat /etc/issue
Red Hat Enterprise Linux AS release 4 (Nahant Update 7)
Kernel \r on an \m

The following produces:

#include
#include
#include

int main(void)
{
time_t now = time(NULL);
printf("now = %jd\n", now);
printf("now = %jd\n", (intmax_t)now);
return 0;
}

This Output:
now = -4612898194263019405
now = 1374253171