diff --git a/src/renderer/widgets/Image.cpp b/src/renderer/widgets/Image.cpp index cf416df..f2d475f 100644 --- a/src/renderer/widgets/Image.cpp +++ b/src/renderer/widgets/Image.cpp @@ -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;