aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--audio/amarok-kde4/files/patch-src-playlistgenerator-constraints-PlaylistFileSize.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/audio/amarok-kde4/files/patch-src-playlistgenerator-constraints-PlaylistFileSize.cpp b/audio/amarok-kde4/files/patch-src-playlistgenerator-constraints-PlaylistFileSize.cpp
new file mode 100644
index 000000000000..e1149a52c9da
--- /dev/null
+++ b/audio/amarok-kde4/files/patch-src-playlistgenerator-constraints-PlaylistFileSize.cpp
@@ -0,0 +1,12 @@
+--- src/playlistgenerator/constraints/PlaylistFileSize.cpp.orig 2013-02-06 11:59:32.000000000 +0100
++++ src/playlistgenerator/constraints/PlaylistFileSize.cpp 2013-02-06 11:57:56.000000000 +0100
+@@ -172,7 +172,7 @@
+ case 2:
+ return static_cast<quint64>( m_size ) * static_cast<quint64>( 1000000000 );
+ case 3:
+- return static_cast<quint64>( m_size ) * static_cast<quint64>( 1000000000000 );
++ return static_cast<quint64>( m_size ) * static_cast<quint64>( 1000000000000LL );
+ default:
+ return static_cast<quint64>( m_size ) * static_cast<quint64>( 1 );
+ }
+