From 8658386f212f29447874fe62fa665c5864cdcc41 Mon Sep 17 00:00:00 2001 From: Vaxry Date: Mon, 22 Apr 2024 10:12:42 +0100 Subject: [PATCH] image: fix build with libc++ fixes #289 --- src/renderer/widgets/Image.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;