Commit 0504b5d3 authored by minus's avatar minus

Fix realloc with wrong type

parent 3d24313c
......@@ -11,7 +11,7 @@ void siso_watch_remove_index(struct siso_watch *w, uint32_t pa_index) {
w->sisos.len - i - 1);
w->sisos.len--;
w->sisos.items = realloc(w->sisos.items,
sizeof(uint32_t) * w->sisos.len);
sizeof(struct siso) * w->sisos.len);
} else {
i++;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment