summaryrefslogtreecommitdiff
path: root/extra/banshee/banshee-recent-gpod.patch
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-09-20 23:14:47 +0000
committerroot <root@rshg054.dnsready.net>2011-09-20 23:14:47 +0000
commitd739da01541d53414129d3171df221cfe2440fe5 (patch)
tree065870578009b02f2759485f0eb33cf37d7e12bf /extra/banshee/banshee-recent-gpod.patch
parentdf65be2b18070d63ffd056e8563279e4646bee9a (diff)
Tue Sep 20 23:14:47 UTC 2011
Diffstat (limited to 'extra/banshee/banshee-recent-gpod.patch')
-rw-r--r--extra/banshee/banshee-recent-gpod.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/extra/banshee/banshee-recent-gpod.patch b/extra/banshee/banshee-recent-gpod.patch
new file mode 100644
index 000000000..afb3a0fd1
--- /dev/null
+++ b/extra/banshee/banshee-recent-gpod.patch
@@ -0,0 +1,24 @@
+From d4cd959c4a48ffc9da8fe0983bd31c4647669bf4 Mon Sep 17 00:00:00 2001
+From: William Witt <william@witt-family.net>
+Date: Sat, 30 Jul 2011 21:54:41 -0500
+Subject: [PATCH] - Changed typecast on FileSize to uint in AppleDeviceTrackInfo to comply with libgpod-sharp
+
+---
+ .../AppleDeviceTrackInfo.cs | 2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+diff --git a/src/Dap/Banshee.Dap.AppleDevice/Banshee.Dap.AppleDevice/AppleDeviceTrackInfo.cs b/src/Dap/Banshee.Dap.AppleDevice/Banshee.Dap.AppleDevice/AppleDeviceTrackInfo.cs
+index 178266d..b8549f7 100644
+--- a/src/Dap/Banshee.Dap.AppleDevice/Banshee.Dap.AppleDevice/AppleDeviceTrackInfo.cs
++++ b/src/Dap/Banshee.Dap.AppleDevice/Banshee.Dap.AppleDevice/AppleDeviceTrackInfo.cs
+@@ -215,7 +215,7 @@ namespace Banshee.Dap.AppleDevice
+ track.CDs = DiscCount;
+ track.CDNumber = DiscNumber;
+ track.TrackLength = (int) Duration.TotalMilliseconds;
+- track.Size = (int)FileSize;
++ track.Size = (uint)FileSize;
+ track.Grouping = Grouping;
+ try {
+ track.TimePlayed = LastPlayed;
+--
+1.7.3.4