From 5077ae188cd21d59f7713db9130fe1c64595fb3e Mon Sep 17 00:00:00 2001 From: Joshua Goins Date: Thu, 22 Aug 2024 21:07:41 -0400 Subject: [PATCH] Fix int conversion that's wrecking MSVC builds --- launcher/src/patcher.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/launcher/src/patcher.cpp b/launcher/src/patcher.cpp index b166d55..fe82baf 100644 --- a/launcher/src/patcher.cpp +++ b/launcher/src/patcher.cpp @@ -120,8 +120,8 @@ QCoro::Task Patcher::patch(const physis_PatchList &patchList) .version = QLatin1String(patch.version), .path = patchPath, .hashes = convertedHashes, - .hashBlockSize = patch.hash_block_size, - .length = patch.length, + .hashBlockSize = static_cast(patch.hash_block_size), + .length = static_cast(patch.length), .isBoot = isBoot()}; qDebug(ASTRA_PATCHER) << "Adding a queued patch:";