summaryrefslogtreecommitdiff
path: root/openttd.c
diff options
context:
space:
mode:
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)