From 286d44402e829488abe802efd1607eabbc98f1d1 Mon Sep 17 00:00:00 2001 From: Sebastian Hahn Date: Thu, 7 Apr 2011 05:30:49 +0200 Subject: [PATCH] Fix a compile warning on OS X 10.6 --- src/or/circuituse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/or/circuituse.c b/src/or/circuituse.c index 447ec8412d..3d5db98ee1 100644 --- a/src/or/circuituse.c +++ b/src/or/circuituse.c @@ -291,7 +291,7 @@ circuit_expire_building(void) long ms = tor_lround(msec); \ struct timeval diff; \ diff.tv_sec = ms / 1000; \ - diff.tv_usec = (ms % 1000) * 1000; \ + diff.tv_usec = (int)((ms % 1000) * 1000); \ timersub(&now, &diff, &target); \ } while (0) -- 2.11.4.GIT