mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
Fixed warning.
This commit is contained in:
parent
6da97bb48a
commit
a01a05a943
|
@ -113,7 +113,7 @@ static int find(const BS_LIST *list, const uint8_t *data)
|
|||
*/
|
||||
static int resize(BS_LIST *list, uint32_t new_size)
|
||||
{
|
||||
uint8_t *p;
|
||||
void *p;
|
||||
|
||||
p = realloc(list->data, list->element_size * new_size);
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user