src/vehicle.cpp
changeset 9146 dbe2317185eb
parent 9128 f4b41e7c282e
child 9184 6c18790d3929
--- a/src/vehicle.cpp	Thu May 08 13:06:12 2008 +0000
+++ b/src/vehicle.cpp	Thu May 08 13:20:54 2008 +0000
@@ -2691,7 +2691,7 @@
 {
 	int length = CountVehiclesInChain(v);
 
-	uint cargo_packages_count = 1;
+	size_t cargo_packages_count = 1;
 	for (const Vehicle *v_count = v; v_count != NULL; v_count=v_count->Next()) {
 		/* Now we count how many cargo packets we need to store.
 		 * We started with an offset by one because we also need an end of array marker. */