summaryrefslogtreecommitdiff
path: root/station_gui.c
diff options
context:
space:
mode:
authorDarkvater <darkvater@openttd.org>2006-08-15 09:28:27 +0000
committerDarkvater <darkvater@openttd.org>2006-08-15 09:28:27 +0000
commitb13a60db4249e0f862da403bed6d9d2f90d17d06 (patch)
tree82fca400d7d38b00d375bbd1db06cd35637c3b39 /station_gui.c
parentcb21b5b076eaee64d37dcd8ed2c49c91986e34b8 (diff)
downloadopenttd-b13a60db4249e0f862da403bed6d9d2f90d17d06.tar.xz
(svn r5910) Fix some more warnings on MSVC by using (void*) casts. Followup of r5907.
Diffstat (limited to 'station_gui.c')
-rw-r--r--station_gui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/station_gui.c b/station_gui.c
index ab106fbc2..8f4a45b8f 100644
--- a/station_gui.c
+++ b/station_gui.c
@@ -232,7 +232,7 @@ static void SortStationsList(plstations_d *sl)
_internal_sort_order = sl->flags & SL_ORDER;
_last_station = NULL; // used for "cache" in namesorting
- qsort(sl->sort_list, sl->list_length, sizeof(sl->sort_list[0]), _station_sorter[sl->sort_type]);
+ qsort((void*)sl->sort_list, sl->list_length, sizeof(sl->sort_list[0]), _station_sorter[sl->sort_type]);
sl->resort_timer = DAY_TICKS * PERIODIC_RESORT_DAYS;
sl->flags &= ~SL_RESORT;