[Bug 151155] computed size for big mail foders is wrong. It shows 16 777 216, 0 TB.

Jean-Christophe Dubois jcd at tribudubois.net
Thu Dec 20 18:06:53 GMT 2007


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=151155         




------- Additional Comments From jcd tribudubois net  2007-12-20 19:06 -------
class FolderStorage : public QObject
{
public:
    ...
    size_t   folderSize () const;
    ...
}

and size_t could be 32bits only especially on 32 bits platforms.

So what would be a good replacement for it? Should we use "long long" instead? In any case size_t is not a correct choice for 32 bits architectures if we want to be able to handle more than 2GB folders.



More information about the Kdepim-bugs mailing list