diff options
author | belugas <belugas@openttd.org> | 2006-08-23 23:23:14 +0000 |
---|---|---|
committer | belugas <belugas@openttd.org> | 2006-08-23 23:23:14 +0000 |
commit | 9bb2a97e576be0c09121e601ab238f17753a9123 (patch) | |
tree | 9982b80147239aec13fb843f24f67f8eb2e99a52 | |
parent | 909fd71a092284091ca4b97292a16e5f1043d155 (diff) | |
download | openttd-9bb2a97e576be0c09121e601ab238f17753a9123.tar.xz |
(svn r6081) -Fix(6054) : Silenced a MSVC warning on compiling (thanks MaulinMonkey)
-rw-r--r-- | graph_gui.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/graph_gui.c b/graph_gui.c index e41356aea..011bbc1cd 100644 --- a/graph_gui.c +++ b/graph_gui.c @@ -1123,7 +1123,7 @@ static void GlobalSortSignList(void) 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"); } |