mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
Fix Android compilation
This commit is contained in:
parent
dcb2bee8cc
commit
bf8ddf498e
@ -117,7 +117,7 @@ std::error_condition StubbornWriteOpQueue::flush(
|
||||
if(maxRemaining > 0)
|
||||
{
|
||||
std::chrono::milliseconds interval(
|
||||
std::max(50l, maxRemaining*1000/5) );
|
||||
std::max(rstime_t(50), maxRemaining*1000/5) );
|
||||
RS_DBG3( "Cannot acquire database write lock, retrying in:",
|
||||
interval.count(), "ms" );
|
||||
RsThread::async([this, acceptDelay, callTS, interval]()
|
||||
|
Loading…
Reference in New Issue
Block a user