diff options
author | Nicholas Little <arealityfarbetween@googlemail.com> | 2013-01-25 00:14:48 +0000 |
---|---|---|
committer | Andres G. Aragoneses <knocte@gmail.com> | 2013-01-25 00:14:48 +0000 |
commit | f32a020c6309dfd6bc4cf93c460f90cd960ba2fb (patch) | |
tree | 0d50d46653dc383a52222d397b1059d3afca6aa7 /src | |
parent | 6bbc7790f1aa7477b7adc0343beedd747252a509 (diff) |
PrimarySource: remove two unnecessary casts
Diffstat (limited to 'src')
-rw-r--r-- | src/Core/Banshee.Services/Banshee.Sources/PrimarySource.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Core/Banshee.Services/Banshee.Sources/PrimarySource.cs b/src/Core/Banshee.Services/Banshee.Sources/PrimarySource.cs index a1250ec31..d79d5a6fd 100644 --- a/src/Core/Banshee.Services/Banshee.Sources/PrimarySource.cs +++ b/src/Core/Banshee.Services/Banshee.Sources/PrimarySource.cs @@ -510,7 +510,7 @@ namespace Banshee.Sources protected virtual void DeleteTrackList (CachedList<DatabaseTrackInfo> list) { is_deleting = true; - DeleteTrackJob.Total += (int) list.Count; + DeleteTrackJob.Total += list.Count; List<DatabaseTrackInfo> skip_deletion = null; // Remove from file system @@ -628,7 +628,7 @@ namespace Banshee.Sources { CachedList<DatabaseTrackInfo> list = cached_list as CachedList<DatabaseTrackInfo>; is_adding = true; - AddTrackJob.Total += (int) list.Count; + AddTrackJob.Total += list.Count; foreach (DatabaseTrackInfo track in list) { if (AddTrackJob.IsCancelRequested) { |