Changeset - r10772:b7f438513abc
[Not reviewed]
master
0 1 0
smatz - 15 years ago 2009-01-16 14:02:40
smatz@openttd.org
(svn r15105) -Fix (r15104): signed/unsigned warning
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/strings.cpp
Show inline comments
 
@@ -277,7 +277,7 @@ static char *FormatBytes(char *buff, int
 

	
 
	/*                         0    2^10   2^20   2^30   2^40   2^50   2^60 */
 
	const char *siUnits[] = { "B", "KiB", "MiB", "GiB", "TiB", "PiB", "EiB" };
 
	int id = 1;
 
	uint id = 1;
 
	while (number >= 1024 * 1024) {
 
		number /= 1024;
 
		id++;
0 comments (0 inline, 0 general)