summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--graph_gui.c2
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");
}