[banshee] PrimarySource: remove two unnecessary casts



commit f32a020c6309dfd6bc4cf93c460f90cd960ba2fb
Author: Nicholas Little <arealityfarbetween googlemail com>
Date:   Fri Jan 25 00:14:48 2013 +0000

    PrimarySource: remove two unnecessary casts

 .../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 a1250ec..d79d5a6 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) {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]