Cleanup: style
authorCampbell Barton <ideasman42@gmail.com>
Thu, 19 Apr 2018 06:18:16 +0000 (08:18 +0200)
committerCampbell Barton <ideasman42@gmail.com>
Thu, 19 Apr 2018 06:18:16 +0000 (08:18 +0200)
source/blender/blenlib/intern/BLI_linklist_lockfree.c
source/blender/blenloader/intern/readfile.c
source/blender/gpu/intern/gpu_buffers.c

index c004ddb6b66ede6a13ac1558f3497e7be73d81a5..ef93ce3619f16b2362482abe2ab3865fb6ff3e95 100644 (file)
@@ -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)
index 1586a03b25d4d7b3337f38e18d2fb0398158a98b..1f1dc8017beb407332aa23565fd33d3758c64fc4 100644 (file)
@@ -7631,7 +7631,7 @@ static void direct_link_moviePlaneTracks(FileData *fd, ListBase *plane_tracks_ba
                int i;
 
                plane_track->point_tracks = newdataadr(fd, plane_track->point_tracks);
-               test_pointer_array(fd, (void**)&plane_track->point_tracks);
+               test_pointer_array(fd, (void **)&plane_track->point_tracks);
                for (i = 0; i < plane_track->point_tracksnr; i++) {
                        plane_track->point_tracks[i] = newdataadr(fd, plane_track->point_tracks[i]);
                }
index ea8f75167264b385f448dc28ea49886bd0ca5a6c..85543ca29b2834e0d35bd38c4b7a881aac86aa80 100644 (file)
@@ -1730,7 +1730,7 @@ void GPU_pbvh_bmesh_buffers_update(
                                        int i;
 
 #if 0
-                                       BM_iter_as_array(bm, BM_VERTS_OF_FACE, f, (void**)v, 3);
+                                       BM_iter_as_array(bm, BM_VERTS_OF_FACE, f, (void **)v, 3);
 #endif
                                        BM_face_as_array_vert_tri(f, v);