summaryrefslogtreecommitdiff
path: root/aircraft_gui.c
diff options
context:
space:
mode:
Diffstat (limited to 'aircraft_gui.c')
-rw-r--r--aircraft_gui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/aircraft_gui.c b/aircraft_gui.c
index 72784b99e..7fd25fdb6 100644
--- a/aircraft_gui.c
+++ b/aircraft_gui.c
@@ -1142,7 +1142,7 @@ static void PlayerAircraftWndProc(Window *w, WindowEvent *e)
break;
case WE_DESTROY:
- free(vl->sort_list);
+ free((void*)vl->sort_list);
break;
case WE_TICK: /* resort the list every 20 seconds orso (10 days) */