(svn r5910) Fix some more warnings on MSVC by using (void*) casts. Followup of r5907.

This commit is contained in:
Darkvater
2006-08-15 09:28:27 +00:00
parent cb21b5b076
commit b13a60db42
6 changed files with 6 additions and 6 deletions

View File

@@ -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;