diff --git a/indra/llfilesystem/lldiskcache.cpp b/indra/llfilesystem/lldiskcache.cpp
index 6b0bbaeb48b4e0661f3e8bb4c4af9bd352f7de61..905351886ff9d026cd35f5257fa36551765d70d1 100644
--- a/indra/llfilesystem/lldiskcache.cpp
+++ b/indra/llfilesystem/lldiskcache.cpp
@@ -372,9 +372,9 @@ LLPurgeDiskCacheThread::LLPurgeDiskCacheThread() :
 
 void LLPurgeDiskCacheThread::run()
 {
-    constexpr long CHECK_INTERVAL = 60;
+    constexpr std::chrono::seconds CHECK_INTERVAL{60};
 
-    while (LLApp::instance()->sleep(std::chrono::seconds(CHECK_INTERVAL)))
+    while (LLApp::instance()->sleep(CHECK_INTERVAL))
     {
         LLDiskCache::instance().purge();
     }