From b13a60db4249e0f862da403bed6d9d2f90d17d06 Mon Sep 17 00:00:00 2001 From: Darkvater Date: Tue, 15 Aug 2006 09:28:27 +0000 Subject: (svn r5910) Fix some more warnings on MSVC by using (void*) casts. Followup of r5907. --- station_gui.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'station_gui.c') 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; -- cgit v1.2.3-54-g00ecf