Fix a warning.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29670 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Dominik Riebeling 2011-04-02 19:03:50 +00:00
parent 2f7cf08532
commit 96fad95bcf

View file

@ -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);