Review Request: use FileSize type for humanReadableSize() parameter

Anssi Hannula anssi at mageia.org
Thu Jan 5 16:58:20 UTC 2012



> On Jan. 5, 2012, 4:53 p.m., Martin Tobias Holmedahl Sandsmark wrote:
> > Ship It!

I don't have KDE write access, I'm just an occasional contributor.


- Anssi


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/102870/#review9577
-----------------------------------------------------------


On Dec. 21, 2011, 7:36 p.m., Anssi Hannula wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/102870/
> -----------------------------------------------------------
> 
> (Updated Dec. 21, 2011, 7:36 p.m.)
> 
> 
> Review request for KDE Utils.
> 
> 
> Description
> -------
> 
> Filelight internally uses a FileSize type in fileTree.h to represent
> file sizes. However, File::humanReadableSize() takes the size as uint
> instead of FileSize, causing overflow issues if FileSize is defined
> as larger than uint.
> 
> 
> Diffs
> -----
> 
>   src/part/fileTree.h fe0a9ec 
>   src/part/fileTree.cpp 6da7a8f 
> 
> Diff: http://git.reviewboard.kde.org/r/102870/diff/diff
> 
> 
> Testing
> -------
> 
> Built filelight in kdeutils-4.6.5 and git master with this change and it caused no issues.
> 
> 
> Thanks,
> 
> Anssi Hannula
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-utils-devel/attachments/20120105/e6d73086/attachment.html>


More information about the Kde-utils-devel mailing list