From: Ivo Anjo Date: Sat, 17 May 2008 11:35:36 +0000 (+0000) Subject: Use a quint64 (always 64 bits) instead of a unsigned long int (32 bits X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/commitdiff_plain/643550b9d75c5993ccd954da4c8540fb834d22fb Use a quint64 (always 64 bits) instead of a unsigned long int (32 bits on x86) for summing file sizes of multiple selected files. BUG: 156911 svn path=/trunk/KDE/kdebase/apps/; revision=808698 --- diff --git a/src/infosidebarpage.cpp b/src/infosidebarpage.cpp index d2652e0d1..cb90fce3e 100644 --- a/src/infosidebarpage.cpp +++ b/src/infosidebarpage.cpp @@ -347,7 +347,7 @@ void InfoSidebarPage::showMetaInfo() m_metaDataWidget->setFiles(urls); } - unsigned long int totalSize = 0; + quint64 totalSize = 0; foreach (const KFileItem& item, m_selection) { // Only count the size of files, not dirs to match what // DolphinViewContainer::selectionStatusBarText() does.