BLI_linklist_stack: use cast to prevent warnings when used in C++

This commit is contained in:
Campbell Barton 2021-07-01 11:24:25 +10:00
parent aa112dc77c
commit 1e532eb37a
1 changed files with 1 additions and 1 deletions

View File

@ -119,7 +119,7 @@
_##var##_free = _##var##_free->next; \
} \
else { \
_##var##_temp = alloca(sizeof(LinkNode)); \
_##var##_temp = (LinkNode *)alloca(sizeof(LinkNode)); \
} \
_##var##_temp->next = _##var##_stack; \
_##var##_temp->link = data; \