mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Add a cast to a malloc to shut up the DEC Unix compiler.
This commit is contained in:
parent
2ec9031b55
commit
445efa9602
1 changed files with 1 additions and 1 deletions
|
@ -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; \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue