From b7ca04809d747946361d07d12112535a3718e0cd Mon Sep 17 00:00:00 2001 From: Rebecca Wallander Date: Sat, 2 May 2026 10:55:16 +0200 Subject: [PATCH] explicit cast Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com> --- Aaru.Core/Devices/Dumping/Sbc/RawBd.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Aaru.Core/Devices/Dumping/Sbc/RawBd.cs b/Aaru.Core/Devices/Dumping/Sbc/RawBd.cs index 4d91beb48..5db3ed44f 100644 --- a/Aaru.Core/Devices/Dumping/Sbc/RawBd.cs +++ b/Aaru.Core/Devices/Dumping/Sbc/RawBd.cs @@ -237,7 +237,7 @@ partial class Dump if(elapsed <= 0) continue; - currentSpeed = sectorSpeedStart * blockSize / (1048576 * elapsed); + currentSpeed = (double)sectorSpeedStart * blockSize / (1048576 * elapsed); sectorSpeedStart = 0; _speedStopwatch.Restart(); }