mirror of
https://github.com/gnustep/libs-gsweb.git
synced 2025-02-19 10:01:05 +00:00
Fix a format string
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@36689 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
96f2f7b252
commit
01a919e50e
2 changed files with 3 additions and 1 deletions
|
@ -11,6 +11,8 @@
|
|||
* GSWeb/GSWMultiKeyDictionary.m
|
||||
Explicitly create a NSMutableDicitonary, see bug
|
||||
39088
|
||||
* GSWeb/GSWProcFS.m
|
||||
fix a format string
|
||||
|
||||
2013-05-30: Sebastian Reitenbach <sebastia@l00-bugdead-prods.de>
|
||||
* GSWeb/GSWElement.h
|
||||
|
|
|
@ -41,7 +41,7 @@ RCS_ID("$Id$")
|
|||
NSString* formattedByteSizeValue(unsigned int value)
|
||||
{
|
||||
if (value<1024)
|
||||
return [NSString stringWithFormat:@"%l b",value];
|
||||
return [NSString stringWithFormat:@"%u b",value];
|
||||
else if (value<1024L*1024L)
|
||||
return [NSString stringWithFormat:@"%.3f Kb",
|
||||
(((double)value)/1024)];
|
||||
|
|
Loading…
Reference in a new issue