aboutsummaryrefslogtreecommitdiff
path: root/src/or/circuitbuild.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/circuitbuild.c')
-rw-r--r--src/or/circuitbuild.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/circuitbuild.c b/src/or/circuitbuild.c
index 5ea3a31afe..c00f77caf8 100644
--- a/src/or/circuitbuild.c
+++ b/src/or/circuitbuild.c
@@ -638,7 +638,7 @@ circuit_build_times_is_network_live(circuit_build_times_t *cbt)
if (now - cbt->network_last_live >
(cbt->timeout*NETWORK_LIVE_MULTIPLIER)) {
log_info(LD_CIRC, "Network is no longer live. Dead for %ld seconds.",
- now - cbt->network_last_live);
+ (long int)(now - cbt->network_last_live));
return 0;
}
return 1;