diff --git a/windows/frd.ps1 b/windows/frd.ps1 index c2b6f54..69ca2cd 100755 --- a/windows/frd.ps1 +++ b/windows/frd.ps1 @@ -104,7 +104,7 @@ function ShowSizes() { [string]$description, [Parameter(Mandatory = $true, Position = 1)] - [int]$sizeInBytes + [Int64]$sizeInBytes ) # Convert the size to kilobytes (KB) @@ -203,7 +203,7 @@ function Show-Duplicates { ) $num_dups = 0 - $total_dup_size = 0 + $total_dup_size = 0.0 foreach ($entry in $files.GetEnumerator()) { $dup_files = $entry.Value