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

View file

@ -52,7 +52,7 @@ void CImage::onTimerUpdate() {
if (!pendingResourceID.empty()) if (!pendingResourceID.empty())
return; 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; pendingResourceID = request.id;
request.asset = path; request.asset = path;
request.type = CAsyncResourceGatherer::eTargetType::TARGET_IMAGE; request.type = CAsyncResourceGatherer::eTargetType::TARGET_IMAGE;