summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2009-04-12 18:40:39 +0000
committerfrosch <frosch@openttd.org>2009-04-12 18:40:39 +0000
commitf46f8bd42780c31d3d4f9ba5c87790e151058258 (patch)
tree0dad84453fa55f94b09047f413e799b8f8c60ca6
parentf17d6df0a6f2355bf2d5664c5ede6bebe9516fa4 (diff)
downloadopenttd-f46f8bd42780c31d3d4f9ba5c87790e151058258.tar.xz
(svn r16044) -Fix (r16042): Win compilation. (Swallow)
-rw-r--r--src/build_vehicle_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/build_vehicle_gui.cpp b/src/build_vehicle_gui.cpp
index d8adabf50..44f27095e 100644
--- a/src/build_vehicle_gui.cpp
+++ b/src/build_vehicle_gui.cpp
@@ -397,7 +397,7 @@ static const StringID _sort_listing[][11] = {{
}};
/** Cargo filter functions */
-static bool CargoFilter(const EngineID *eid, const CargoID cid)
+static bool CDECL CargoFilter(const EngineID *eid, const CargoID cid)
{
if (cid == CF_ANY) return true;
uint32 refit_mask = GetUnionOfArticulatedRefitMasks(*eid, GetEngine(*eid)->type, true);