Add a cast to a malloc to shut up the DEC Unix compiler.

This commit is contained in:
Guido van Rossum 1997-05-14 15:30:32 +00:00
parent 2ec9031b55
commit 445efa9602

View file

@ -177,7 +177,7 @@ if (stack.index == STACK_PAGE_SIZE) \
{ \
if (stack.current->next == NULL) \
{ \
stack.current->next = malloc(sizeof(item_page_t)); \
stack.current->next = (item_page_t *)malloc(sizeof(item_page_t)); \
if (stack.current->next == NULL) \
on_error; \
stack.current->next->prev = stack.current; \