summaryrefslogtreecommitdiff
path: root/src/vehicle.cpp
diff options
context:
space:
mode:
authorglx <glx@openttd.org>2008-05-08 13:20:54 +0000
committerglx <glx@openttd.org>2008-05-08 13:20:54 +0000
commite48a351f8e006b19d9e2c7bf9ef672a1e141d85f (patch)
tree8d4f7ac36d25e220f571af8ff584b7fa76c13cc1 /src/vehicle.cpp
parentf7b6a02b1e9850c4cdb281148a1cee78c2a3f2a8 (diff)
downloadopenttd-e48a351f8e006b19d9e2c7bf9ef672a1e141d85f.tar.xz
(svn r13008) -Fix [FS#1997]: silence some MSVC x64 warnings
Diffstat (limited to 'src/vehicle.cpp')
-rw-r--r--src/vehicle.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vehicle.cpp b/src/vehicle.cpp
index 73f2bb0d6..9b8325832 100644
--- a/src/vehicle.cpp
+++ b/src/vehicle.cpp
@@ -2691,7 +2691,7 @@ void BackuppedVehicle::BackupVehicle(Vehicle *v)
{
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. */