diff options
Diffstat (limited to 'source/blender/blenlib')
-rw-r--r-- | source/blender/blenlib/intern/BLI_linklist_lockfree.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/blenlib/intern/BLI_linklist_lockfree.c b/source/blender/blenlib/intern/BLI_linklist_lockfree.c index c004ddb6b66..ef93ce3619f 100644 --- a/source/blender/blenlib/intern/BLI_linklist_lockfree.c +++ b/source/blender/blenlib/intern/BLI_linklist_lockfree.c @@ -77,12 +77,12 @@ void BLI_linklist_lockfree_insert(LockfreeLinkList *list, do { tail_node = list->tail; keep_working = - (atomic_cas_ptr((void**)&tail_node->next, NULL, node) != NULL); + (atomic_cas_ptr((void **)&tail_node->next, NULL, node) != NULL); if (keep_working) { - atomic_cas_ptr((void**)&list->tail, tail_node, tail_node->next); + atomic_cas_ptr((void **)&list->tail, tail_node, tail_node->next); } } while (keep_working); - atomic_cas_ptr((void**)&list->tail, tail_node, node); + atomic_cas_ptr((void **)&list->tail, tail_node, node); } LockfreeLinkNode *BLI_linklist_lockfree_begin(LockfreeLinkList *list) |