From a92cd2b72e25d014cc12f44325ae0c0009a16ca5 Mon Sep 17 00:00:00 2001 From: smatz Date: Thu, 5 Mar 2009 22:55:47 +0000 Subject: [PATCH] (svn r15624) -Fix (r15621): warning about comparing signed and unsigned integer types --- src/vehicle.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vehicle.cpp b/src/vehicle.cpp index 0f0602cb47..46e3de633e 100644 --- a/src/vehicle.cpp +++ b/src/vehicle.cpp @@ -1195,7 +1195,7 @@ static void CloneVehicleName(const Vehicle *src, Vehicle *dst) char buf[256]; /* Find the position of the first digit in the last group of digits. */ - int number_position; + size_t number_position; for (number_position = strlen(src->name); number_position > 0; number_position--) { /* The design of UTF-8 lets this work simply without having to check * for UTF-8 sequences. */