mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-26 20:11:49 +02:00
Size is now parsed for each item in the feed.
QualityType added to database to allow saving of size limits. Fluent now uses longs for multiplication, to ensure it doesn't overflow.
This commit is contained in:
@@ -21,12 +21,12 @@ namespace NzbDrone.Core
|
||||
|
||||
public static Int64 Megabytes(this int megabytes)
|
||||
{
|
||||
return megabytes * 1048576;
|
||||
return megabytes * 1048576L;
|
||||
}
|
||||
|
||||
public static Int64 Gigabytes(this int gigabytes)
|
||||
{
|
||||
return gigabytes * 1073741824;
|
||||
return gigabytes * 1073741824L;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user