spdylay_ssl.cc: Cast tv.tv_sec to long int to pass printf

This commit is contained in:
Tatsuhiro Tsujikawa 2013-05-03 22:14:16 +09:00
parent aa13b9b980
commit c02fefe063
1 changed files with 1 additions and 1 deletions

View File

@ -516,7 +516,7 @@ void print_timer()
get_timer(&tv);
printf("%s[%3ld.%03ld]%s",
ansi_esc("\033[33m"),
tv.tv_sec, tv.tv_usec/1000,
(long int)tv.tv_sec, tv.tv_usec/1000,
ansi_escend());
}