Commits

Guido van Rossum  committed ddedfa5

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

  • Participants
  • Parent commits 3643f19
  • Branches legacy-trunk

Comments (0)

Files changed (1)

File Modules/regexpr.c

 { \
    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; \