mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-01 08:03:31 +01:00
Fix a compile warning on OS X 10.6
This commit is contained in:
parent
de1c36ff60
commit
286d44402e
@ -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…
Reference in New Issue
Block a user