diff options
author | irungentoo <irungentoo@gmail.com> | 2015-05-01 16:13:59 -0400 |
---|---|---|
committer | irungentoo <irungentoo@gmail.com> | 2015-05-01 16:13:59 -0400 |
commit | a01a05a943a1739afd5dab8f5ae1ded88e61ca0d (patch) | |
tree | ba762c4bb3a8478e2094b8e76340efdd8d8d22ee /toxcore/list.c | |
parent | 6da97bb48a69b1290667067d073d0b7f79967f47 (diff) |
Fixed warning.
Diffstat (limited to 'toxcore/list.c')
-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 | ||