Fix bugs with assuming time_t can be implicitly cast to long
commit741ab2a47abeba41223b908a71f10c80d6c18b6e
authorNick Mathewson <nickm@torproject.org>
Tue, 29 Jun 2010 23:55:10 +0000 (29 19:55 -0400)
committerNick Mathewson <nickm@torproject.org>
Tue, 29 Jun 2010 23:55:10 +0000 (29 19:55 -0400)
treea7cfff3fa8fabb0c6490c074df8f90246801d52c
parent485cab869d292becb62a43b2e33a399ebc671303
Fix bugs with assuming time_t can be implicitly cast to long

Many friendly operating systems have 64-bit times, and it's not nice
to pass them to an %ld format.

It's also extremely not-nice to write a time to the log as an
integer.  Most people think it's 2010 June 29 23:57 UTC+epsilon, not
1277855805+epsilon.
src/or/circuitbuild.c
src/or/circuituse.c