diff options
Diffstat (limited to 'ship_gui.c')
-rw-r--r-- | ship_gui.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ship_gui.c b/ship_gui.c index e8fd59c71..b2ed661ad 100644 --- a/ship_gui.c +++ b/ship_gui.c @@ -1090,7 +1090,7 @@ static void PlayerShipsWndProc(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) */ |