station_gui.c
changeset 222 b88456001397
parent 193 0a7025304867
child 243 9a40daa560ae
--- a/station_gui.c	Sun Sep 12 20:28:52 2004 +0000
+++ b/station_gui.c	Sun Sep 12 21:49:38 2004 +0000
@@ -54,9 +54,8 @@
 {
 	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);