diff options
author | Sebastian Hahn <sebastian@torproject.org> | 2011-04-07 05:30:49 +0200 |
---|---|---|
committer | Sebastian Hahn <sebastian@torproject.org> | 2011-04-07 05:47:55 +0200 |
commit | 286d44402e829488abe802efd1607eabbc98f1d1 (patch) | |
tree | fdd755eee6c57fdf553dba00d71bec51419d02c9 | |
parent | de1c36ff6062ee4b45e1e1f637a7f168e104d7b1 (diff) | |
download | tor-286d44402e829488abe802efd1607eabbc98f1d1.tar.gz tor-286d44402e829488abe802efd1607eabbc98f1d1.zip |
Fix a compile warning on OS X 10.6
-rw-r--r-- | src/or/circuituse.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) |