Blender Git Commit Log
Git Commits -> Revision 171e77c
Revision 171e77c by Campbell Barton (master) August 8, 2020, 03:38 (GMT) |
Cleanup: use array syntax for sizeof with fixed values Also order sizeof(..) first to promote other values to size_t. |
Commit Details:
Full Hash: 171e77c3c25a1224fc5f7db40ec6f8879f8dbbb0
Parent Commit: 4bf3ca2
Lines Changed: +344, -348
129 Modified Paths:
/source/blender/blenkernel/intern/CCGSubSurf.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/colortools.c (+2, -2) (Diff)
/source/blender/blenkernel/intern/constraint.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/curve.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/curve_bevel.c (+2, -2) (Diff)
/source/blender/blenkernel/intern/customdata.c (+17, -17) (Diff)
/source/blender/blenkernel/intern/DerivedMesh.c (+3, -3) (Diff)
/source/blender/blenkernel/intern/displist.c (+12, -12) (Diff)
/source/blender/blenkernel/intern/dynamicpaint.c (+2, -2) (Diff)
/source/blender/blenkernel/intern/fluid.c (+8, -8) (Diff)
/source/blender/blenkernel/intern/gpencil_curve.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/gpencil_geom.c (+3, -3) (Diff)
/source/blender/blenkernel/intern/idprop.c (+4, -4) (Diff)
/source/blender/blenkernel/intern/image_gpu.c (+2, -2) (Diff)
/source/blender/blenkernel/intern/key.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/lattice_deform.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/mask_evaluate.c (+4, -4) (Diff)
/source/blender/blenkernel/intern/mask_rasterize.c (+2, -2) (Diff)
/source/blender/blenkernel/intern/mball.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/mball_tessellate.c (+2, -2) (Diff)
/source/blender/blenkernel/intern/mesh_convert.c (+7, -7) (Diff)
/source/blender/blenkernel/intern/mesh_mirror.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/multires.c (+7, -7) (Diff)
/source/blender/blenkernel/intern/multires_reshape_apply_base.c (+2, -2) (Diff)
/source/blender/blenkernel/intern/multires_reshape_ccg.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/multires_reshape_util.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/multires_unsubdivide.c (+3, -3) (Diff)
/source/blender/blenkernel/intern/node.c (+2, -2) (Diff)
/source/blender/blenkernel/intern/particle.c (+2, -2) (Diff)
/source/blender/blenkernel/intern/particle_distribute.c (+2, -2) (Diff)
/source/blender/blenkernel/intern/pbvh.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/pointcache.c (+25, -25) (Diff)
/source/blender/blenkernel/intern/seqeffects.c (+13, -13) (Diff)
/source/blender/blenkernel/intern/sequencer.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/softbody.c (+2, -2) (Diff)
/source/blender/blenkernel/intern/sound.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/studiolight.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/subdiv_ccg.c (+3, -3) (Diff)
/source/blender/blenkernel/intern/subsurf_ccg.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/tracking.c (+1, -1) (Diff)
/source/blender/blenlib/intern/BLI_ghash_utils.c (+2, -2) (Diff)
/source/blender/blenlib/intern/boxpack_2d.c (+2, -2) (Diff)
/source/blender/blenlib/intern/delaunay_2d.c (+3, -4) (Diff)
/source/blender/blenlib/intern/math_geom_inline.c (+2, -2) (Diff)
/source/blender/blenlib/intern/system.c (+1, -1) (Diff)
/source/blender/blenloader/intern/readfile.c (+1, -1) (Diff)
/source/blender/blenloader/intern/versioning_280.c (+1, -1) (Diff)
/source/blender/blenloader/intern/versioning_legacy.c (+1, -1) (Diff)
/source/blender/blenloader/intern/writefile.c (+1, -1) (Diff)
/source/blender/bmesh/intern/bmesh_core.c (+1, -1) (Diff)
/source/blender/bmesh/intern/bmesh_interp.c (+1, -1) (Diff)
/source/blender/bmesh/intern/bmesh_mesh_convert.c (+1, -1) (Diff)
/source/blender/bmesh/intern/bmesh_operators.c (+12, -12) (Diff)
/source/blender/bmesh/operators/bmo_smooth_laplacian.c (+1, -1) (Diff)
/source/blender/bmesh/tools/bmesh_bevel.c (+3, -3) (Diff)
/source/blender/compositor/operations/COM_CompositorOperation.cpp (+2, -2) (Diff)
/source/blender/compositor/operations/COM_DenoiseOperation.cpp (+5, -5) (Diff)
/source/blender/compositor/operations/COM_VectorBlurOperation.cpp (+2, -2) (Diff)
/source/blender/draw/engines/workbench/workbench_effect_dof.c (+2, -2) (Diff)
/source/blender/draw/intern/draw_cache.c (+4, -4) (Diff)
/source/blender/draw/intern/draw_cache_impl_displist.c (+1, -1) (Diff)
/source/blender/draw/intern/draw_fluid.c (+1, -1) (Diff)
/source/blender/draw/intern/draw_hair.c (+3, -3) (Diff)
/source/blender/draw/intern/draw_manager_data.c (+1, -1) (Diff)
/source/blender/draw/intern/draw_manager_exec.c (+1, -1) (Diff)
/source/blender/editors/animation/anim_draw.c (+2, -2) (Diff)
/source/blender/editors/armature/armature_skinning.c (+3, -3) (Diff)
/source/blender/editors/armature/meshlaplacian.c (+4, -4) (Diff)
/source/blender/editors/curve/editcurve.c (+5, -5) (Diff)
/source/blender/editors/curve/editcurve_add.c (+6, -6) (Diff)
/source/blender/editors/gpencil/gpencil_armature.c (+4, -4) (Diff)
/source/blender/editors/gpencil/gpencil_utils.c (+1, -1) (Diff)
/source/blender/editors/gpencil/gpencil_uv.c (+1, -1) (Diff)
/source/blender/editors/mask/mask_add.c (+2, -2) (Diff)
/source/blender/editors/mask/mask_shapekey.c (+1, -1) (Diff)
/source/blender/editors/mesh/editmesh_tools.c (+1, -1) (Diff)
/source/blender/editors/mesh/meshtools.c (+3, -3) (Diff)
/source/blender/editors/object/object_relations.c (+1, -1) (Diff)
/source/blender/editors/physics/particle_edit.c (+1, -1) (Diff)
/source/blender/editors/render/render_opengl.c (+1, -1) (Diff)
/source/blender/editors/render/render_preview.c (+1, -1) (Diff)
/source/blender/editors/screen/glutil.c (+1, -1) (Diff)
/source/blender/editors/sculpt_paint/paint_cursor.c (+0, -1) (Diff)
/source/blender/editors/sculpt_paint/paint_image_proj.c (+4, -4) (Diff)
/source/blender/editors/sculpt_paint/sculpt_cloth.c (+6, -6) (Diff)
/source/blender/editors/sculpt_paint/sculpt_filter_mesh.c (+2, -2) (Diff)
/source/blender/editors/sculpt_paint/sculpt_mask_expand.c (+1, -1) (Diff)
/source/blender/editors/sculpt_paint/sculpt_paint_color.c (+1, -1) (Diff)
/source/blender/editors/sculpt_paint/sculpt_smooth.c (+1, -1) (Diff)
/source/blender/editors/space_clip/clip_draw.c (+1, -1) (Diff)
/source/blender/editors/space_graph/graph_draw.c (+2, -2) (Diff)
/source/blender/editors/space_node/drawnode.c (+2, -2) (Diff)
/source/blender/editors/space_outliner/outliner_tree.c (+1, -1) (Diff)
/source/blender/editors/space_sequencer/sequencer_scopes.c (+1, -1) (Diff)
/source/blender/editors/transform/transform_input.c (+1, -1) (Diff)
/source/blender/editors/uvedit/uvedit_parametrizer.c (+9, -9) (Diff)
/source/blender/editors/uvedit/uvedit_smart_stitch.c (+8, -8) (Diff)
/source/blender/freestyle/intern/application/AppCanvas.cpp (+2, -3) (Diff)
/source/blender/freestyle/intern/scene_graph/NodeCamera.cpp (+4, -4) (Diff)
/source/blender/freestyle/intern/view_map/SilhouetteGeomEngine.cpp (+1, -1) (Diff)
/source/blender/gpencil_modifiers/intern/MOD_gpencilmultiply.c (+2, -2) (Diff)
/source/blender/gpu/intern/gpu_batch.cc (+1, -1) (Diff)
/source/blender/gpu/intern/gpu_buffers.c (+1, -1) (Diff)
/source/blender/gpu/intern/gpu_extensions.cc (+1, -2) (Diff)
/source/blender/gpu/intern/gpu_material.c (+1, -1) (Diff)
/source/blender/imbuf/intern/cineon/cineon_dpx.c (+2, -2) (Diff)
/source/blender/imbuf/intern/cineon/logImageCore.c (+1, -1) (Diff)
/source/blender/imbuf/intern/colormanagement.c (+2, -2) (Diff)
/source/blender/imbuf/intern/divers.c (+2, -2) (Diff)
/source/blender/imbuf/intern/jp2.c (+1, -1) (Diff)
/source/blender/imbuf/intern/moviecache.c (+1, -1) (Diff)
/source/blender/imbuf/intern/openexr/openexr_api.cpp (+1, -1) (Diff)
/source/blender/imbuf/intern/rectop.c (+1, -1) (Diff)
/source/blender/imbuf/intern/rotate.c (+3, -3) (Diff)
/source/blender/imbuf/intern/scaling.c (+9, -9) (Diff)
/source/blender/imbuf/intern/util_gpu.c (+2, -2) (Diff)
/source/blender/makesrna/intern/rna_define.c (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_tracking.c (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_userdef.c (+1, -1) (Diff)
/source/blender/modifiers/intern/MOD_cloth.c (+1, -1) (Diff)
/source/blender/modifiers/intern/MOD_meshcache_mdd.c (+4, -4) (Diff)
/source/blender/modifiers/intern/MOD_meshcache_pc2.c (+3, -3) (Diff)
/source/blender/modifiers/intern/MOD_skin.c (+1, -1) (Diff)
/source/blender/modifiers/intern/MOD_solidify_extrude.c (+4, -4) (Diff)
/source/blender/python/mathutils/mathutils_Vector.c (+3, -3) (Diff)
/source/blender/render/intern/source/pipeline.c (+2, -2) (Diff)
/source/blender/render/intern/source/pointdensity.c (+1, -1) (Diff)
/source/blender/render/intern/source/render_result.c (+3, -3) (Diff)
/source/blender/simulation/intern/implicit_blender.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/colortools.c (+2, -2) (Diff)
/source/blender/blenkernel/intern/constraint.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/curve.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/curve_bevel.c (+2, -2) (Diff)
/source/blender/blenkernel/intern/customdata.c (+17, -17) (Diff)
/source/blender/blenkernel/intern/DerivedMesh.c (+3, -3) (Diff)
/source/blender/blenkernel/intern/displist.c (+12, -12) (Diff)
/source/blender/blenkernel/intern/dynamicpaint.c (+2, -2) (Diff)
/source/blender/blenkernel/intern/fluid.c (+8, -8) (Diff)
/source/blender/blenkernel/intern/gpencil_curve.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/gpencil_geom.c (+3, -3) (Diff)
/source/blender/blenkernel/intern/idprop.c (+4, -4) (Diff)
/source/blender/blenkernel/intern/image_gpu.c (+2, -2) (Diff)
/source/blender/blenkernel/intern/key.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/lattice_deform.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/mask_evaluate.c (+4, -4) (Diff)
/source/blender/blenkernel/intern/mask_rasterize.c (+2, -2) (Diff)
/source/blender/blenkernel/intern/mball.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/mball_tessellate.c (+2, -2) (Diff)
/source/blender/blenkernel/intern/mesh_convert.c (+7, -7) (Diff)
/source/blender/blenkernel/intern/mesh_mirror.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/multires.c (+7, -7) (Diff)
/source/blender/blenkernel/intern/multires_reshape_apply_base.c (+2, -2) (Diff)
/source/blender/blenkernel/intern/multires_reshape_ccg.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/multires_reshape_util.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/multires_unsubdivide.c (+3, -3) (Diff)
/source/blender/blenkernel/intern/node.c (+2, -2) (Diff)
/source/blender/blenkernel/intern/particle.c (+2, -2) (Diff)
/source/blender/blenkernel/intern/particle_distribute.c (+2, -2) (Diff)
/source/blender/blenkernel/intern/pbvh.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/pointcache.c (+25, -25) (Diff)
/source/blender/blenkernel/intern/seqeffects.c (+13, -13) (Diff)
/source/blender/blenkernel/intern/sequencer.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/softbody.c (+2, -2) (Diff)
/source/blender/blenkernel/intern/sound.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/studiolight.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/subdiv_ccg.c (+3, -3) (Diff)
/source/blender/blenkernel/intern/subsurf_ccg.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/tracking.c (+1, -1) (Diff)
/source/blender/blenlib/intern/BLI_ghash_utils.c (+2, -2) (Diff)
/source/blender/blenlib/intern/boxpack_2d.c (+2, -2) (Diff)
/source/blender/blenlib/intern/delaunay_2d.c (+3, -4) (Diff)
/source/blender/blenlib/intern/math_geom_inline.c (+2, -2) (Diff)
/source/blender/blenlib/intern/system.c (+1, -1) (Diff)
/source/blender/blenloader/intern/readfile.c (+1, -1) (Diff)
/source/blender/blenloader/intern/versioning_280.c (+1, -1) (Diff)
/source/blender/blenloader/intern/versioning_legacy.c (+1, -1) (Diff)
/source/blender/blenloader/intern/writefile.c (+1, -1) (Diff)
/source/blender/bmesh/intern/bmesh_core.c (+1, -1) (Diff)
/source/blender/bmesh/intern/bmesh_interp.c (+1, -1) (Diff)
/source/blender/bmesh/intern/bmesh_mesh_convert.c (+1, -1) (Diff)
/source/blender/bmesh/intern/bmesh_operators.c (+12, -12) (Diff)
/source/blender/bmesh/operators/bmo_smooth_laplacian.c (+1, -1) (Diff)
/source/blender/bmesh/tools/bmesh_bevel.c (+3, -3) (Diff)
/source/blender/compositor/operations/COM_CompositorOperation.cpp (+2, -2) (Diff)
/source/blender/compositor/operations/COM_DenoiseOperation.cpp (+5, -5) (Diff)
/source/blender/compositor/operations/COM_VectorBlurOperation.cpp (+2, -2) (Diff)
/source/blender/draw/engines/workbench/workbench_effect_dof.c (+2, -2) (Diff)
/source/blender/draw/intern/draw_cache.c (+4, -4) (Diff)
/source/blender/draw/intern/draw_cache_impl_displist.c (+1, -1) (Diff)
/source/blender/draw/intern/draw_fluid.c (+1, -1) (Diff)
/source/blender/draw/intern/draw_hair.c (+3, -3) (Diff)
/source/blender/draw/intern/draw_manager_data.c (+1, -1) (Diff)
/source/blender/draw/intern/draw_manager_exec.c (+1, -1) (Diff)
/source/blender/editors/animation/anim_draw.c (+2, -2) (Diff)
/source/blender/editors/armature/armature_skinning.c (+3, -3) (Diff)
/source/blender/editors/armature/meshlaplacian.c (+4, -4) (Diff)
/source/blender/editors/curve/editcurve.c (+5, -5) (Diff)
/source/blender/editors/curve/editcurve_add.c (+6, -6) (Diff)
/source/blender/editors/gpencil/gpencil_armature.c (+4, -4) (Diff)
/source/blender/editors/gpencil/gpencil_utils.c (+1, -1) (Diff)
/source/blender/editors/gpencil/gpencil_uv.c (+1, -1) (Diff)
/source/blender/editors/mask/mask_add.c (+2, -2) (Diff)
/source/blender/editors/mask/mask_shapekey.c (+1, -1) (Diff)
/source/blender/editors/mesh/editmesh_tools.c (+1, -1) (Diff)
/source/blender/editors/mesh/meshtools.c (+3, -3) (Diff)
/source/blender/editors/object/object_relations.c (+1, -1) (Diff)
/source/blender/editors/physics/particle_edit.c (+1, -1) (Diff)
/source/blender/editors/render/render_opengl.c (+1, -1) (Diff)
/source/blender/editors/render/render_preview.c (+1, -1) (Diff)
/source/blender/editors/screen/glutil.c (+1, -1) (Diff)
/source/blender/editors/sculpt_paint/paint_cursor.c (+0, -1) (Diff)
/source/blender/editors/sculpt_paint/paint_image_proj.c (+4, -4) (Diff)
/source/blender/editors/sculpt_paint/sculpt_cloth.c (+6, -6) (Diff)
/source/blender/editors/sculpt_paint/sculpt_filter_mesh.c (+2, -2) (Diff)
/source/blender/editors/sculpt_paint/sculpt_mask_expand.c (+1, -1) (Diff)
/source/blender/editors/sculpt_paint/sculpt_paint_color.c (+1, -1) (Diff)
/source/blender/editors/sculpt_paint/sculpt_smooth.c (+1, -1) (Diff)
/source/blender/editors/space_clip/clip_draw.c (+1, -1) (Diff)
/source/blender/editors/space_graph/graph_draw.c (+2, -2) (Diff)
/source/blender/editors/space_node/drawnode.c (+2, -2) (Diff)
/source/blender/editors/space_outliner/outliner_tree.c (+1, -1) (Diff)
/source/blender/editors/space_sequencer/sequencer_scopes.c (+1, -1) (Diff)
/source/blender/editors/transform/transform_input.c (+1, -1) (Diff)
/source/blender/editors/uvedit/uvedit_parametrizer.c (+9, -9) (Diff)
/source/blender/editors/uvedit/uvedit_smart_stitch.c (+8, -8) (Diff)
/source/blender/freestyle/intern/application/AppCanvas.cpp (+2, -3) (Diff)
/source/blender/freestyle/intern/scene_graph/NodeCamera.cpp (+4, -4) (Diff)
/source/blender/freestyle/intern/view_map/SilhouetteGeomEngine.cpp (+1, -1) (Diff)
/source/blender/gpencil_modifiers/intern/MOD_gpencilmultiply.c (+2, -2) (Diff)
/source/blender/gpu/intern/gpu_batch.cc (+1, -1) (Diff)
/source/blender/gpu/intern/gpu_buffers.c (+1, -1) (Diff)
/source/blender/gpu/intern/gpu_extensions.cc (+1, -2) (Diff)
/source/blender/gpu/intern/gpu_material.c (+1, -1) (Diff)
/source/blender/imbuf/intern/cineon/cineon_dpx.c (+2, -2) (Diff)
/source/blender/imbuf/intern/cineon/logImageCore.c (+1, -1) (Diff)
/source/blender/imbuf/intern/colormanagement.c (+2, -2) (Diff)
/source/blender/imbuf/intern/divers.c (+2, -2) (Diff)
/source/blender/imbuf/intern/jp2.c (+1, -1) (Diff)
/source/blender/imbuf/intern/moviecache.c (+1, -1) (Diff)
/source/blender/imbuf/intern/openexr/openexr_api.cpp (+1, -1) (Diff)
/source/blender/imbuf/intern/rectop.c (+1, -1) (Diff)
/source/blender/imbuf/intern/rotate.c (+3, -3) (Diff)
/source/blender/imbuf/intern/scaling.c (+9, -9) (Diff)
/source/blender/imbuf/intern/util_gpu.c (+2, -2) (Diff)
/source/blender/makesrna/intern/rna_define.c (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_tracking.c (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_userdef.c (+1, -1) (Diff)
/source/blender/modifiers/intern/MOD_cloth.c (+1, -1) (Diff)
/source/blender/modifiers/intern/MOD_meshcache_mdd.c (+4, -4) (Diff)
/source/blender/modifiers/intern/MOD_meshcache_pc2.c (+3, -3) (Diff)
/source/blender/modifiers/intern/MOD_skin.c (+1, -1) (Diff)
/source/blender/modifiers/intern/MOD_solidify_extrude.c (+4, -4) (Diff)
/source/blender/python/mathutils/mathutils_Vector.c (+3, -3) (Diff)
/source/blender/render/intern/source/pipeline.c (+2, -2) (Diff)
/source/blender/render/intern/source/pointdensity.c (+1, -1) (Diff)
/source/blender/render/intern/source/render_result.c (+3, -3) (Diff)
/source/blender/simulation/intern/implicit_blender.c (+1, -1) (Diff)