agent: Use "ll" length specifier when time_t is larger.
authorNIIBE Yutaka <gniibe@fsij.org>
Mon, 10 Apr 2017 06:04:57 +0000 (15:04 +0900)
committerNIIBE Yutaka <gniibe@fsij.org>
Mon, 10 Apr 2017 06:04:57 +0000 (15:04 +0900)
commit170660ed11b56145dea4865e751ae5aff1681fe2
treecc783826a3fc71cec59e67ee071be6a9e441387d
parent7501f2e9c4e6fd94a191b381d52ec2fe1d103e29
agent: Use "ll" length specifier when time_t is larger.

* agent/command.c (cmd_keytocard): Use KEYTOCARD_TIMESTAMP_FORMAT.

--

On a big-endian 32-bit platform which uses 64-bit time_t, it might go
wrong.

Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
agent/command.c