diff options
Diffstat (limited to 'roadveh_gui.c')
-rw-r--r-- | roadveh_gui.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/roadveh_gui.c b/roadveh_gui.c index f047cd93a..3607a67d1 100644 --- a/roadveh_gui.c +++ b/roadveh_gui.c @@ -1078,7 +1078,7 @@ static void PlayerRoadVehWndProc(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) */ |