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 <stdio.h>
#include <time.h>
#include <stdint.h>

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
Merge pull request #824 from awsiv/master

Properly cast time_t values while printing.