From 57e6141d4a841cf2bf70523994a3202bb3a18510 Mon Sep 17 00:00:00 2001 From: Zephyron Date: Tue, 11 Nov 2025 19:11:07 +1000 Subject: [PATCH] Fix QJsonValue conversion ambiguity in game_list_worker.cpp Explicitly cast modification_time to qint64 to resolve Linux build error where std::int64_t conversion to QJsonValue is ambiguous. Signed-off-by: Zephyron --- src/citron/game_list_worker.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/citron/game_list_worker.cpp b/src/citron/game_list_worker.cpp index aa68c1b6b..51a7085f4 100644 --- a/src/citron/game_list_worker.cpp +++ b/src/citron/game_list_worker.cpp @@ -154,7 +154,7 @@ void SaveGameMetadataCache() { entry[QStringLiteral("file_size")] = static_cast(metadata.file_size); entry[QStringLiteral("title")] = QString::fromStdString(metadata.title); entry[QStringLiteral("file_path")] = QString::fromStdString(metadata.file_path); - entry[QStringLiteral("modification_time")] = metadata.modification_time; + entry[QStringLiteral("modification_time")] = static_cast(metadata.modification_time); const QByteArray icon_data(reinterpret_cast(metadata.icon.data()), static_cast(metadata.icon.size()));