(svn r13008) -Fix [FS#1997]: silence some MSVC x64 warnings

This commit is contained in:
glx
2008-05-08 13:20:54 +00:00
parent f7b6a02b1e
commit e48a351f8e
11 changed files with 64 additions and 65 deletions

View File

@@ -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. */