diff options
author | Darkvater <darkvater@openttd.org> | 2006-08-15 09:28:27 +0000 |
---|---|---|
committer | Darkvater <darkvater@openttd.org> | 2006-08-15 09:28:27 +0000 |
commit | b13a60db4249e0f862da403bed6d9d2f90d17d06 (patch) | |
tree | 82fca400d7d38b00d375bbd1db06cd35637c3b39 /vehicle_gui.c | |
parent | cb21b5b076eaee64d37dcd8ed2c49c91986e34b8 (diff) | |
download | openttd-b13a60db4249e0f862da403bed6d9d2f90d17d06.tar.xz |
(svn r5910) Fix some more warnings on MSVC by using (void*) casts. Followup of r5907.
Diffstat (limited to 'vehicle_gui.c')
-rw-r--r-- | vehicle_gui.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vehicle_gui.c b/vehicle_gui.c index bfe1adb62..a1bf146a9 100644 --- a/vehicle_gui.c +++ b/vehicle_gui.c @@ -182,7 +182,7 @@ void SortVehicleList(vehiclelist_d *vl) _internal_sort_order = vl->flags & VL_DESC; _internal_name_sorter_id = STR_SV_TRAIN_NAME; _last_vehicle = NULL; // used for "cache" in namesorting - qsort(vl->sort_list, vl->list_length, sizeof(vl->sort_list[0]), + qsort((void*)vl->sort_list, vl->list_length, sizeof(vl->sort_list[0]), _vehicle_sorter[vl->sort_type]); vl->resort_timer = DAY_TICKS * PERIODIC_RESORT_DAYS; |