Core/Misc: MSVC warning fixes

This commit is contained in:
Shauren
2016-04-05 00:15:56 +02:00
parent e3acb2ecc7
commit 70412e7e25
16 changed files with 31 additions and 31 deletions

View File

@@ -354,7 +354,7 @@ uint32 UpdateFetcher::Apply(Path const& path) const
_applyFile(path);
// Return time the query took to apply
return std::chrono::duration_cast<std::chrono::milliseconds>(Time::now() - begin).count();
return uint32(std::chrono::duration_cast<std::chrono::milliseconds>(Time::now() - begin).count());
}
void UpdateFetcher::UpdateEntry(AppliedFileEntry const& entry, uint32 const speed) const