Mercurial > hg > openttd
changeset 4365:871ec26c44af draft
(svn r6081) -Fix(6054) : Silenced a MSVC warning on compiling (thanks MaulinMonkey)
author | belugas <belugas@openttd.org> |
---|---|
date | Wed, 23 Aug 2006 23:23:14 +0000 |
parents | 462cd37e9882 |
children | 1ca75a908a4c |
files | graph_gui.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/graph_gui.c +++ b/graph_gui.c @@ -1123,7 +1123,7 @@ uint n = 0; /* Create array for sorting */ - _sign_sort = realloc(_sign_sort, GetSignArraySize() * sizeof(_sign_sort[0])); + _sign_sort = realloc((void *)_sign_sort, GetSignArraySize() * sizeof(_sign_sort[0])); if (_sign_sort == NULL) { error("Could not allocate memory for the sign-sorting-list"); }