summaryrefslogtreecommitdiff
path: root/openttd.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2006-08-15 07:07:17 +0000
committertron <tron@openttd.org>2006-08-15 07:07:17 +0000
commit5cf43b9f3c26ae5e44215cfa8142ed9e440dd3a0 (patch)
tree0aa4cb8becef58d3f427c3d8a47031b3ee8aad86 /openttd.c
parent86934247cdbf369217ff78364b47ca7ab57ef4c0 (diff)
downloadopenttd-5cf43b9f3c26ae5e44215cfa8142ed9e440dd3a0.tar.xz
(svn r5907) Remove more indirection by using pointers instead of IDs. Also fix some bogus warnings on MSVC by using (void*) casts
Diffstat (limited to 'openttd.c')
-rw-r--r--openttd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/openttd.c b/openttd.c
index 0433c9c9c..062645677 100644
--- a/openttd.c
+++ b/openttd.c
@@ -260,8 +260,8 @@ static void UnInitializeDynamicVariables(void)
CleanPool(&_sign_pool);
CleanPool(&_order_pool);
- free(_town_sort);
- free(_industry_sort);
+ free((void*)_town_sort);
+ free((void*)_industry_sort);
}
static void UnInitializeGame(void)