changeset 10772:0b11178de9c5 draft

(svn r15105) -Fix (r15104): signed/unsigned warning
author smatz <smatz@openttd.org>
date Fri, 16 Jan 2009 14:02:40 +0000
parents 44e71a85349d
children e0b4cb93bcca
files src/strings.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/strings.cpp
+++ b/src/strings.cpp
@@ -277,7 +277,7 @@
 
 	/*                         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++;