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
commitb293c7a4e1af0821bb99f9f0bb72fe53e1c35a50 (patch)
tree82fca400d7d38b00d375bbd1db06cd35637c3b39 /station_gui.c
parentea6ab4ce260a2dea7035729df887f7ad7308cf8c (diff)
downloadopenttd-b293c7a4e1af0821bb99f9f0bb72fe53e1c35a50.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;