diff options
Diffstat (limited to 'src/or/main.c')
-rw-r--r-- | src/or/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/main.c b/src/or/main.c index b6035fa765..b8827b947d 100644 --- a/src/or/main.c +++ b/src/or/main.c @@ -2538,7 +2538,7 @@ update_current_time(time_t now) monotime_coarse_diff_msec32(&last_updated, ¤t_second_last_changed); const int monotime_sec_passed = monotime_msec_passed / 1000; - const int discrepency = monotime_sec_passed - seconds_elapsed; + const int discrepency = monotime_sec_passed - (int)seconds_elapsed; /* If the monotonic clock deviates from time(NULL), we have a couple of * possibilities. On some systems, this means we have been suspended or * sleeping. Everywhere, it can mean that the wall-clock time has |