mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-24 22:58:50 +01:00
Fix a compile warning on OS X 10.6
This commit is contained in:
parent
de1c36ff60
commit
286d44402e
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue