(removed a cast from a call to realloc())

partial-rewrite
Ben Blazak 2013-04-26 17:32:41 -07:00
parent ca56ea4647
commit 467615a4b6
1 changed files with 1 additions and 1 deletions

View File

@ -67,7 +67,7 @@ static uint8_t _resize_stack(void) {
if (margin == 0 || margin >= MARGIN + BLOCK_SIZE) {
uint8_t change = (margin == 0) ? BLOCK_SIZE : -BLOCK_SIZE;
uint8_t new_size = sizeof(element_t) * (_allocated + change);
element_t * temp = (element_t *) realloc(_stack, new_size);
element_t * temp = realloc(_stack, new_size);
if (temp) {
_stack = temp;
_allocated += change;