From 9d462b60f53deb2b25bdf1a42cc9cd511ed5b80d Mon Sep 17 00:00:00 2001 From: Valentin Charbonnier Date: Sun, 13 Aug 2017 23:36:15 +0200 Subject: [PATCH] Changes. --- source/Cosmos.System2/FileSystem/CosmosVFS.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/source/Cosmos.System2/FileSystem/CosmosVFS.cs b/source/Cosmos.System2/FileSystem/CosmosVFS.cs index e406f18ba..1d062af11 100644 --- a/source/Cosmos.System2/FileSystem/CosmosVFS.cs +++ b/source/Cosmos.System2/FileSystem/CosmosVFS.cs @@ -355,8 +355,7 @@ namespace Cosmos.System.FileSystem for (int i = 0; i < mPartitions.Count; i++) { string xRootPath = string.Concat(i, VolumeSeparatorChar, DirectorySeparatorChar); - ulong Size = mPartitions[i].BlockCount * mPartitions[i].BlockSize / 1024 / 1024; - long xSize = (long)Size; + var xSize = (long)(mPartitions[i].BlockCount * mPartitions[i].BlockSize / 1024 / 1024); switch (FileSystem.GetFileSystemType(mPartitions[i])) { case FileSystemType.FAT: