Skip to content
Snippets Groups Projects
Commit 772ce9d0 authored by Sebastian Hahn's avatar Sebastian Hahn Committed by Nick Mathewson
Browse files

Fix compile on Snow Leopard

parent 61e814af
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment