mirror of
https://github.com/nghttp2/nghttp2.git
synced 2025-12-08 11:08:52 +08:00
spdylay_ssl.cc: Cast tv.tv_sec to long int to pass printf
This commit is contained in:
@@ -516,7 +516,7 @@ void print_timer()
|
|||||||
get_timer(&tv);
|
get_timer(&tv);
|
||||||
printf("%s[%3ld.%03ld]%s",
|
printf("%s[%3ld.%03ld]%s",
|
||||||
ansi_esc("\033[33m"),
|
ansi_esc("\033[33m"),
|
||||||
tv.tv_sec, tv.tv_usec/1000,
|
(long int)tv.tv_sec, tv.tv_usec/1000,
|
||||||
ansi_escend());
|
ansi_escend());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user