summaryrefslogtreecommitdiff
path: root/toxcore/list.c
diff options
context:
space:
mode:
Diffstat (limited to 'toxcore/list.c')
-rw-r--r--toxcore/list.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/toxcore/list.c b/toxcore/list.c
index 8bb71306..b97727f8 100644
--- a/toxcore/list.c
+++ b/toxcore/list.c
@@ -113,7 +113,7 @@ static int find(const BS_LIST *list, const uint8_t *data)
113 */ 113 */
114static int resize(BS_LIST *list, uint32_t new_size) 114static int resize(BS_LIST *list, uint32_t new_size)
115{ 115{
116 uint8_t *p; 116 void *p;
117 117
118 p = realloc(list->data, list->element_size * new_size); 118 p = realloc(list->data, list->element_size * new_size);
119 119