diff options
author | Sebastian Hahn <sebastian@torproject.org> | 2009-09-21 05:12:37 +0200 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2009-09-20 23:17:00 -0400 |
commit | 772ce9d085ff5ce36b8d23e1a883e036fd96b830 (patch) | |
tree | c61937c2fc8b9bb974453d503e6e3cdb63da93e0 /src/common/util.c | |
parent | 61e814af7a4e257523be9d9b29f029358241bb14 (diff) | |
download | tor-772ce9d085ff5ce36b8d23e1a883e036fd96b830.tar tor-772ce9d085ff5ce36b8d23e1a883e036fd96b830.tar.gz |
Fix compile on Snow Leopard
Diffstat (limited to 'src/common/util.c')
-rw-r--r-- | src/common/util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/util.c b/src/common/util.c index a69ea33d0..d05c308fe 100644 --- a/src/common/util.c +++ b/src/common/util.c @@ -1055,7 +1055,7 @@ tv_to_msec(const struct timeval *tv) { int64_t conv = ((int64_t)tv->tv_sec)*1000L; /* Round ghetto-style */ - conv += (tv->tv_usec+500)/1000L; + conv += ((int64_t)tv->tv_usec+500)/1000L; return conv; } |