fix w4018

Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
This commit is contained in:
pappeste
2021-06-18 17:45:51 -07:00
committed by Esteban Papp
parent 97354ce90a
commit 10f950b726
33 changed files with 72 additions and 73 deletions
@@ -160,7 +160,7 @@ namespace AWSCore
// assigned to a specific CPU starting with the specified CPU.
AZ::JobManagerDesc jobManagerDesc{};
AZ::JobManagerThreadDesc threadDesc(m_firstThreadCPU, m_threadPriority, m_threadStackSize);
for (unsigned int i = 0; i < m_threadCount; ++i)
for (int i = 0; i < m_threadCount; ++i)
{
jobManagerDesc.m_workerThreads.push_back(threadDesc);
if (threadDesc.m_cpuId > -1)
@@ -139,7 +139,7 @@ namespace AWSCore
AZStd::chrono::seconds lastSendTimeStamp = AZStd::chrono::seconds(lastSendTimeStampSeconds);
AZStd::chrono::seconds secondsSinceLastSend =
AZStd::chrono::duration_cast<AZStd::chrono::seconds>(AZStd::chrono::system_clock::now().time_since_epoch()) - lastSendTimeStamp;
if (secondsSinceLastSend.count() >= delayInSeconds)
if (static_cast<AZ::u64>(secondsSinceLastSend.count()) >= delayInSeconds)
{
return true;
}