1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-18 03:59:09 +00:00

(svn r6081) -Fix(6054) : Silenced a MSVC warning on compiling (thanks MaulinMonkey)

This commit is contained in:
belugas
2006-08-23 23:23:14 +00:00
parent 909fd71a09
commit 9bb2a97e57

View File

@@ -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");
}