diff --git a/source3/smbd/scavenger.c b/source3/smbd/scavenger.c index 5500a9f1565..40b2fe55dcc 100644 --- a/source3/smbd/scavenger.c +++ b/source3/smbd/scavenger.c @@ -423,7 +423,7 @@ void scavenger_schedule_disconnected(struct files_struct *fsp) return; } nttime_to_timeval(&disconnect_time, fsp->op->global->disconnect_time); - timeout_usec = 1000 * fsp->op->global->durable_timeout_msec; + timeout_usec = UINT64_C(1000) * fsp->op->global->durable_timeout_msec; until = timeval_add(&disconnect_time, timeout_usec / 1000000, timeout_usec % 1000000);