From c02fefe063d4f7597fe8e3d60d81a60d073964d3 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Fri, 3 May 2013 22:14:16 +0900 Subject: [PATCH] spdylay_ssl.cc: Cast tv.tv_sec to long int to pass printf --- src/spdylay_ssl.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/spdylay_ssl.cc b/src/spdylay_ssl.cc index 2b131a91..c27b12a0 100644 --- a/src/spdylay_ssl.cc +++ b/src/spdylay_ssl.cc @@ -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()); }