mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
Fix a warning on 32-bit clang
This commit is contained in:
+1
-1
@@ -245,7 +245,7 @@ hs_get_start_time_of_next_time_period(time_t now)
|
||||
|
||||
/* Apply rotation offset as specified by prop224 section [TIME-PERIODS] */
|
||||
unsigned int time_period_rotation_offset = sr_state_get_phase_duration();
|
||||
return start_of_next_tp_in_mins * 60 + time_period_rotation_offset;
|
||||
return (time_t)(start_of_next_tp_in_mins * 60 + time_period_rotation_offset);
|
||||
}
|
||||
|
||||
/* Create a new rend_data_t for a specific given <b>version</b>.
|
||||
|
||||
Reference in New Issue
Block a user