Hi guys,

I'm updating KDE SC to 4.9.5. Thanks for the great job!

Updating Amarok, I get this error message:
/usr/ports/audio/amarok-kde4/work/amarok-2.7.0/src/playlistgenerator/constraints/PlaylistFileSize.cpp:175:
error: integer constant is too large for 'long' type


Adding the suffix LL (as showed in the patch) the problem is solved.

Best regards,
Luca
--- PlaylistFileSize.cpp.orig	2013-02-06 11:59:32.000000000 +0100
+++ 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 );
     }
_______________________________________________
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information

Reply via email to