(svn r6081) -Fix(6054) : Silenced a MSVC warning on compiling (thanks MaulinMonkey)
authorbelugas
Wed, 23 Aug 2006 23:23:14 +0000
changeset 4365 714adbfd42c0
parent 4364 0fc1e43842f6
child 4366 b40a2ecadf99
(svn r6081) -Fix(6054) : Silenced a MSVC warning on compiling (thanks MaulinMonkey)
graph_gui.c
--- a/graph_gui.c	Wed Aug 23 20:53:53 2006 +0000
+++ b/graph_gui.c	Wed Aug 23 23:23:14 2006 +0000
@@ -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");
 	}