diff options
Diffstat (limited to 'toxcore')
-rw-r--r-- | toxcore/list.c | 2 |
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 | */ |
114 | static int resize(BS_LIST *list, uint32_t new_size) | 114 | static 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 | ||