[Pkg-owncloud-commits] [owncloud-client] 20/27: Utility: Fix constants for 32-bit arch #3670

Sandro Knauß hefee-guest at moszumanska.debian.org
Fri Aug 28 09:43:45 UTC 2015


This is an automated email from the git hooks/post-receive script.

hefee-guest pushed a commit to branch master
in repository owncloud-client.

commit 6c5328e4cacc9aa8fbc6f96b5781266a84a1cbdc
Author: Christian Kamm <mail at ckamm.de>
Date:   Mon Aug 24 13:56:10 2015 +0200

    Utility: Fix constants for 32-bit arch #3670
---
 src/libsync/utility.cpp | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/src/libsync/utility.cpp b/src/libsync/utility.cpp
index 9504ca7..5babf16 100644
--- a/src/libsync/utility.cpp
+++ b/src/libsync/utility.cpp
@@ -301,12 +301,12 @@ QString Utility::durationToDescriptiveString(quint64 msecs)
 {
     struct Period { const char *name; quint64 msec; };
     Q_DECL_CONSTEXPR Period periods[] = {
-        { QT_TRANSLATE_NOOP("Utility", "%Ln year(s)") , 365*24*3600*1000L },
-        { QT_TRANSLATE_NOOP("Utility", "%Ln month(s)") , 30*24*3600*1000L },
-        { QT_TRANSLATE_NOOP("Utility", "%Ln day(s)") , 24*3600*1000L },
-        { QT_TRANSLATE_NOOP("Utility", "%Ln hour(s)") , 3600*1000L },
-        { QT_TRANSLATE_NOOP("Utility", "%Ln minute(s)") , 60*1000L },
-        { QT_TRANSLATE_NOOP("Utility", "%Ln second(s)") , 1000L },
+        { QT_TRANSLATE_NOOP("Utility", "%Ln year(s)") , 365*24*3600*1000LL },
+        { QT_TRANSLATE_NOOP("Utility", "%Ln month(s)") , 30*24*3600*1000LL },
+        { QT_TRANSLATE_NOOP("Utility", "%Ln day(s)") , 24*3600*1000LL },
+        { QT_TRANSLATE_NOOP("Utility", "%Ln hour(s)") , 3600*1000LL },
+        { QT_TRANSLATE_NOOP("Utility", "%Ln minute(s)") , 60*1000LL },
+        { QT_TRANSLATE_NOOP("Utility", "%Ln second(s)") , 1000LL },
         { 0, 0 }
     };
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud-client.git



More information about the Pkg-owncloud-commits mailing list