image: fix build with libc++

fixes #289
This commit is contained in:
Vaxry 2024-04-22 10:12:42 +01:00
parent 307e473759
commit 8658386f21
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ void CImage::onTimerUpdate() {
if (!pendingResourceID.empty())
return;
request.id = std::string{"image:"} + path + ",time:" + std::to_string(modificationTime.time_since_epoch().count());
request.id = std::string{"image:"} + path + ",time:" + std::to_string((uint64_t)modificationTime.time_since_epoch().count());
pendingResourceID = request.id;
request.asset = path;
request.type = CAsyncResourceGatherer::eTargetType::TARGET_IMAGE;