diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-09-19 03:29:57 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-09-19 03:29:57 +0300 |
commit | 345c34826296907d85b4b367a830ff4f73ab293f (patch) | |
tree | 54d7a03449dc65e7dadc22ebff7541ef1f439165 /source/blender/blenkernel/intern | |
parent | 69aac13524374d62fee5a99139ba74ed535ea767 (diff) |
Cleanup: style
Diffstat (limited to 'source/blender/blenkernel/intern')
-rw-r--r-- | source/blender/blenkernel/intern/fcurve.c | 2 | ||||
-rw-r--r-- | source/blender/blenkernel/intern/subdiv_ccg.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/blenkernel/intern/fcurve.c b/source/blender/blenkernel/intern/fcurve.c index 629307d6cc2..bf8d259d59c 100644 --- a/source/blender/blenkernel/intern/fcurve.c +++ b/source/blender/blenkernel/intern/fcurve.c @@ -1970,7 +1970,7 @@ static bool driver_compile_simple_expr(ChannelDriver *driver) /* Store the result if the field is still NULL, or discard * it if another thread got here first. */ - if (atomic_cas_ptr((void**)&driver->expr_simple, NULL, expr) != NULL) { + if (atomic_cas_ptr((void **)&driver->expr_simple, NULL, expr) != NULL) { BLI_simple_expr_free(expr); } diff --git a/source/blender/blenkernel/intern/subdiv_ccg.c b/source/blender/blenkernel/intern/subdiv_ccg.c index 6744579d5c6..7d5c67d4393 100644 --- a/source/blender/blenkernel/intern/subdiv_ccg.c +++ b/source/blender/blenkernel/intern/subdiv_ccg.c @@ -158,7 +158,7 @@ static void subdiv_ccg_alloc_elements(SubdivCCG *subdiv_ccg, subdiv_ccg->faces = MEM_calloc_arrayN( num_faces, sizeof(SubdivCCGFace), "Subdiv CCG faces"); subdiv_ccg->grid_faces = MEM_calloc_arrayN( - num_grids, sizeof(SubdivCCGFace*), "Subdiv CCG grid faces"); + num_grids, sizeof(SubdivCCGFace *), "Subdiv CCG grid faces"); } } @@ -447,7 +447,7 @@ typedef struct RecalcInnerNormalsTLSData { */ static void subdiv_ccg_recalc_inner_face_normals( RecalcInnerNormalsData *data, - RecalcInnerNormalsTLSData *tls, + RecalcInnerNormalsTLSData *tls, const int grid_index) { SubdivCCG *subdiv_ccg = data->subdiv_ccg; |