Fixed warning.

This commit is contained in:
irungentoo 2015-05-01 16:13:59 -04:00
parent 6da97bb48a
commit a01a05a943
No known key found for this signature in database
GPG Key ID: 10349DC9BED89E98

View File

@ -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);