diff options
Diffstat (limited to 'station_gui.c')
-rw-r--r-- | station_gui.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/station_gui.c b/station_gui.c index 5337a5349..b1c553a30 100644 --- a/station_gui.c +++ b/station_gui.c @@ -54,9 +54,8 @@ static int CDECL StationNameSorter(const void *a, const void *b) { char buf1[64]; Station *st; - SortStruct *cmp1, *cmp2; - cmp1 = (SortStruct*)a; - cmp2 = (SortStruct*)b; + const SortStruct *cmp1 = (const SortStruct*)a; + const SortStruct *cmp2 = (const SortStruct*)b; st = DEREF_STATION(cmp1->index); SET_DPARAM16(0, st->town->townnametype); |