1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-09-01 19:09:09 +00:00

(svn r19806) -Codechange: silence one warning

This commit is contained in:
smatz
2010-05-13 05:34:21 +00:00
parent b229acce25
commit d568a4258b

View File

@@ -46,7 +46,7 @@ static void Load_DEPT()
SlObject(depot, _depot_desc);
/* Set the town 'pointer' so we can restore it later. */
if (CheckSavegameVersion(141)) depot->town = (Town *)_town_index;
if (CheckSavegameVersion(141)) depot->town = (Town *)(size_t)_town_index;
}
}