Fix amq -i timestamp segmentation violation.

MFC after:	1 week
This commit is contained in:
cy 2018-06-19 01:33:03 +00:00
parent 543698f955
commit 894f66024b

View File

@ -79,7 +79,7 @@ enum show_opt {
static void
time_print(time_type tt)
{
time_t t = (time_t)*tt;
time_t t = (time_t)(intptr_t)tt;
struct tm *tp = localtime(&t);
printf("%02d/%02d/%04d %02d:%02d:%02d",
tp->tm_mon + 1, tp->tm_mday,