summaryrefslogtreecommitdiffstats
path: root/rbutil/rbutilqt/base/zipinstaller.cpp
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2011-04-02 19:03:50 +0000
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2011-04-02 19:03:50 +0000
commit96fad95bcf73edbfadbb6c07e58f6b28b4e093f7 (patch)
treecd8eee6ba04ed5f7a8369fc008bb30bda6364981 /rbutil/rbutilqt/base/zipinstaller.cpp
parent2f7cf08532db4c0c4fd119cf39343aacaeed68dd (diff)
downloadrockbox-96fad95bcf73edbfadbb6c07e58f6b28b4e093f7.tar.gz
rockbox-96fad95bcf73edbfadbb6c07e58f6b28b4e093f7.tar.bz2
rockbox-96fad95bcf73edbfadbb6c07e58f6b28b4e093f7.zip
Fix a warning.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29670 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'rbutil/rbutilqt/base/zipinstaller.cpp')
-rw-r--r--rbutil/rbutilqt/base/zipinstaller.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/rbutil/rbutilqt/base/zipinstaller.cpp b/rbutil/rbutilqt/base/zipinstaller.cpp
index 07a901ddf4..76f673ff81 100644
--- a/rbutil/rbutilqt/base/zipinstaller.cpp
+++ b/rbutil/rbutilqt/base/zipinstaller.cpp
@@ -139,7 +139,7 @@ void ZipInstaller::downloadDone(bool error)
// check for free space. Make sure after installation will still be
// some room for operating (also includes calculation mistakes due to
// cluster sizes on the player).
- if(Utils::filesystemFree(m_mountpoint)
+ if((qint64)Utils::filesystemFree(m_mountpoint)
< (zip.totalUncompressedSize() + 1000000)) {
emit logItem(tr("Not enough disk space! Aborting."), LOGERROR);
emit logProgress(1, 1);